RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: koleksiuk
Yeh, thank you.
Now there's a problem with Simple Navigation - when I follow to next step (when user_steps_controller.rb runs) simple_navigation somehow forgots all the "global" variables like root_path etc., so that I get error in application layout
undefined local variable or method `root_path' for "user_steps":String
I'd like to add, that simply adding root_path in application layout works, so there's something wrong with =render_navigation.
If anyone uses those 2 gems and somehow solved this problem, please share. :)
And generally how to implement it correctly in Devise?
Any idea how to overwrite create method in Devise (code in users_controller.rb)?