Kristian,
If I understand what you are trying to do, then its a little
backwards. You really shouldn't be generating view stuff in the
controller. Instead you can create a class variable like @logged_in
and then use that to selectively show certain components in the view.
Allen Madsen
http://www.
I'm having problems using url_for in a controller. The original method
looks like this, but the @controller variable is unknown in this
context. However if I remove it, it goes in an endless loop for the
Hash case. Anyone?
def url_for(options = {})
options ||= {}
url = case o