Hi All! This is not a problem in general but i've just missed the point. If my application has a global state, which i have to use both throughout ActionController and ActiveView, then, where to place that state? E.g. if I do this:
class ApplicationController < ActionController::Base protected def authenticated? !user.nil? end end
then I can't use that from any View. And, on the other hand, if I do write that as a public method - it acts as an action...
So, where to place such "global" properties?
Thanx a lot!