Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
Unwrap text
Report abuse
<% @role.rights.each { |right| -%> <%= (right.controller.empty? ? '*' : right.controller) + '/' + (right.action.empty? ? '*' : right.action) %> <% } -%>
Pasted February 22, 2007 9:58AM EDT
by LeeH
Channel #rubyonrails on irc.freenode.com
Embed
paste again
Ads from Ruby Row