hello,
in production the <%= controller.controller_name %> has no effect in view I use passenger mod_rails.
if i restart my apache server , it work but just for 1 or 2 times and after stop to work. I must each time to restart my apache server.
hello,
in production the <%= controller.controller_name %> has no effect in view I use passenger mod_rails.
if i restart my apache server , it work but just for 1 or 2 times and after stop to work. I must each time to restart my apache server.
solution
http://railsforum.com/viewtopic.php?id=27357
just replace controller.controller_name by params[:controller] for action_name params[:action]