Method: Monologue::Admin::SessionsController#destroy
- Defined in:
- app/controllers/monologue/admin/sessions_controller.rb
#destroy ⇒ Object
18 19 20 21 |
# File 'app/controllers/monologue/admin/sessions_controller.rb', line 18 def destroy session[:monologue_user_id] = nil redirect_to admin_url, notice: t("monologue.admin.sessions.messages.logged_out") end |