solution

http://railsforum.com/viewtopic.php?id=27357

just replace controller.controller_name by params[:controller]  for
action_name params[:action]

On 21 fév, 12:54, fmh <[email protected]> wrote:
> 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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to