Class: UsersController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- UsersController
- Defined in:
- app/controllers/users_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
getting some weird intermittent errors where users are being redirected to ‘/users’ after signup.
- #show ⇒ Object
Instance Method Details
#index ⇒ Object
getting some weird intermittent errors where users are being redirected to ‘/users’ after signup. this is a failsafe last-resort solution
16 17 18 |
# File 'app/controllers/users_controller.rb', line 16 def index redirect_to root_path end |
#show ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'app/controllers/users_controller.rb', line 5 def show @user = User.find(params[:id]) respond_to do |format| format.html # show.html.erb.bak format.xml { render :xml => @user } end end |