Ruby on Rails
Thursday, March 8, 2018
start writing method inside your url module.
These methods then can be called from your view. we use helper method to reduce the noise in view files.
On Thursday, 8 March 2018 11:19:27 UTC+5:30, fugee ohu wrote:
-- module UrlHelper
def url
#......
end
end
These methods then can be called from your view. we use helper method to reduce the noise in view files.
On Thursday, 8 March 2018 11:19:27 UTC+5:30, fugee ohu wrote:
how do i use this file?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ab7d889c-3515-4bc1-ab3f-7d33d15bd651%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment