"show_names".humanize => "Show names" close enough?
dwh Sergio Ruiz wrote: > was wondering if it's possible to have a human readable controller name > in my page title.. > > ie: > > if my controller name is: show_names > > i can have my view do: > > <title> The controller is: <%= controller_name %></title> > > and i can get: > > <title>The controller is: show_names</title> > > but i would like to get: > > <title> The controller is: Show Names </title> > > thanks! > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

