In my controller I have
In the view page (only some part of the code is copied and pasted)
In my routes.rb I have mentioned
But When the ajax request goes, I get the routing error as
Where am I doing wrong here...Please help..
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.