Displaying 1 result from an estimated 1 matches for "urlizing".
Did you mean:
url'ing
2011 Jan 16
1
Before and After Filters/Functions for Rails Routes
.... I know how to create
links etc etc. but my problem is I want to call function on this string such
as to_param or something like that to make seo string, also in the
controller to perform a search I have to humanize this string again. So what
I want is this:
In every view, I dont want to use urlizing method to make it se friendly
In every controller, I do not want to call any function to humanize string
back again, this should done by router
In the router:
match ''search/:string'' => ''Post#search'', :as => :search, before =>
some_helper_functio...