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

Non-working:

Processing ApplicationController#switch_theme (for 127.0.0.1 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 http://127.0.0.1:3000/items Completed in 31ms (DB: 17) | 302 Found [http://127.0.0.1/switch_theme\]

Any chance of seeing the code instead :slight_smile:

Cheers Luke