Redirect_to that doesn't

I have some code that works when logged_in but not when not logged_in. The switch_theme action just changes the variable controlling the CSS stylesheet and does a 'redirect_to :back'. But no other action is called. The log looks like below. Ring any bells?

TIA,   Jeffrey


Processing ApplicationController#switch_theme (for at 2010-03-21 03:20:53) [GET]   Parameters: {"action"=>"switch_theme", "controller"=>"application"}   User Columns (1.6ms) SHOW FIELDS FROM `users`   User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`login` = 'Jeff') LIMIT 1 Redirected to Completed in 31ms (DB: 17) | 302 Found [\]

Any chance of seeing the code instead :slight_smile:

Cheers Luke