Class: UsersController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/users_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject

getting some weird intermittent errors where users are being redirected to ‘/users’ after signup. this is a failsafe last-resort solution



8
9
10
# File 'app/controllers/users_controller.rb', line 8

def index
  redirect_to root_path
end

#showObject



12
13
14
15
16
# File 'app/controllers/users_controller.rb', line 12

def show
  respond_to do |format|
    format.html
  end
end