look for the file view_helper.rb
and change this line
@params_for[:controller] = '/' + @params_for[:controller] unless @params_for[:controller].first(1) == '/' # for namespaced controllers
to
@params_for[:controller] = '/' + @params_for[:controller] unless @params_for[:controller].chars.first == '/' # for namespaced controllers
And you are done it works.
good luck.
No hay comentarios:
Publicar un comentario