Sha256: 4aeef2af4c251aeb4ecfc5e968ec8fd94e92365ae21d758be2ad02eff6ccaf5a
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true module Account class SessionsController < Account::BaseController respond_to :json, only: [:show, :profile] def show respond_to do |format| format.json { render } format.all { redirect to: account_dashboard_path } end end def profile respond_to do |format| format.json { render } format.all { redirect to: account_dashboard_path } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/controllers/account/sessions_controller.rb |