Class: Account::SessionsController
Instance Method Summary
collapse
caches_page_with_cache_marker, #raise_not_found!
Instance Method Details
#profile ⇒ Object
14
15
16
17
18
19
|
# File 'app/controllers/account/sessions_controller.rb', line 14
def profile
respond_to do |format|
format.json { render }
format.all { redirect to: account_dashboard_path }
end
end
|
#show ⇒ Object
7
8
9
10
11
12
|
# File 'app/controllers/account/sessions_controller.rb', line 7
def show
respond_to do |format|
format.json { render }
format.all { redirect to: account_dashboard_path }
end
end
|