Sha256: 8d69daa76efa4c741fdebb72087f478c8af20f25f52bea234a18629b6b1bd5bc
Contents?: true
Size: 388 Bytes
Versions: 31
Compression:
Stored size: 388 Bytes
Contents
module Noodall module Admin class BaseController < ApplicationController layout 'noodall_admin' before_filter :authenticate_user! rescue_from Canable::Transgression, :with => :permission_denied private def permission_denied flash[:error] = "You do not have permission to do that" redirect_to :back end end end end
Version data entries
31 entries across 31 versions & 1 rubygems