Hello All
I have an invitations page where all invitations for channels sent are
listed with checkboxes.An Accept and Reject button is present at the
end of the list.
The logged in user can accept or reject the invitations by selecting
the checkboxes.
In my invitations.html.erb(which is my
For the restful way first you have to properly add the non restful action to
the routes
member do
POST channel_invites_approve
end
and then pass the value since this will create a helper like this
channel_invites_approve_path()
and you can pass the value like this
2 matches
Mail list logo