Sha256: 560e076bf2ef7737e89698bb34b7ac96dc0c23cd978978ff5e5a772b0034df68
Contents?: true
Size: 389 Bytes
Versions: 43
Compression:
Stored size: 389 Bytes
Contents
class Admin::Muck::BaseController < ApplicationController before_filter :login_required before_filter :admin_access_required protected def get_user @user = current_user end def authorized? admin? end def permission_denied respond_to do |format| format.html do redirect_to home_path end end end end
Version data entries
43 entries across 43 versions & 1 rubygems