Passing link text as parameter to a controller

How do i pass the link text as a parameter to a controller i want to
pass the string rather than the id???

Is there any way how can I do that?

You’ll need modify config/routes.rb file.

Check http://manuals.rubyonrails.com/read/chapter/65 &
http://wiki.rubyonrails.com/rails/pages/HowToRouteGenericURLsToAController

Thanks,
Pratik

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs