On Miércoles, 27 de Octubre de 2010 01:30:18 Andrey Voronkov escribió:
> You should fix this string (9 line in _list_actions.html.erb) and add
> .html_safe to the false part.
> <%= record.authorized_for?(:crud_type => link.crud_type, :action =>
> link.action) ? render_action_link(link, url_options, record) : "<a
> class='disabled #{link.action}'>#{link.label}</a>" -%>
> 
> like this:
> 
> <%= record.authorized_for?(:crud_type => link.crud_type, :action =>
> link.action) ? render_action_link(link, url_options, record) : "<a
> class='disabled #{link.action}'>#{link.label}</a>".html_safe -%>
> 
> because thouse people who uses rails_xss plugin are getting escaped
> html in this case.

It's fixed now, thanks

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

  • Request for fix. Andrey Voronkov
    • Re: Request for fix. Sergio Cambra .:: entreCables S.L. ::.

Reply via email to