Hi

Is there a way to know the controller and action names from a view ?

It would be quite cool to be able to do

%body{:id => controller + "_" + "action"}

So you could then write Sass to overwrite specific CSS for particular
pages.

#users_show
  p
     color: red

*...(


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to