I have a very simple request from my client that there be a larger logo on the home page than every other page in the site. I did something fairly kludgy to make it work quickly -- put a bare variable in the application controller:
at_root = false
and then in my home method put
at_root = true
and test for that in the view. But this seems like three times too much work to me, plus it puts view-related stuff in the controller. Is there a simple test I can perform in the view, so I can know if the current request == :root or not?
Google has been unhelpful, probably because the words in my question are too general.