Class: Admin::MainController

Inherits:
AdminController
  • Object
show all
Defined in:
app/controllers/admin/main_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
# File 'app/controllers/admin/main_controller.rb', line 5

def index
  render
end

#resetObject

this is mostly used for development purpose



10
11
12
13
# File 'app/controllers/admin/main_controller.rb', line 10

def reset
  reset_session
  redirect_to root_url
end