Sha256: 4e62e59344e59d880f9679564542c9adaecc15f6d1a68b1723bcc35d370c5eef
Contents?: true
Size: 240 Bytes
Versions: 1
Compression:
Stored size: 240 Bytes
Contents
module Gemgento class User::BaseController < ApplicationController before_filter :auth_user respond_to :json, :html private def auth_user redirect_to new_user_session_path unless user_signed_in? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemgento-2.8.0 | app/controllers/gemgento/user/base_controller.rb |