Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##application_helper.rb
- # Try this, and see if it works in cases where there is a user and where there isn't one.
- def user_link(text, options)
- options[action] ||= "show"
- link_to( text, options)
- end
Add Comment
Please, Sign In to add comment