Sha256: 932ae672cae478416445b850dfb8001fd9cb678a8685f5b339bf2dc92ade41fe
Contents?: true
Size: 726 Bytes
Versions: 1
Compression:
Stored size: 726 Bytes
Contents
module IshLibManager class ApplicationController < ActionController::Base layout 'ish_lib_manager/application' def set_lists @tags_list = Tag.all.list @sites_list = Site.all.list @cities_list = City.all.list @venues_list = Venue.all.list @users_list = User.all.list @reports_list = Report.all.list @galleries_list = Gallery.all.list @videos_list = Video.all.list end # cancan check_authorization rescue_from CanCan::AccessDenied do |exception| puts! exception, 'cancan exception is' redirect_to root_url, :alert => exception.message end end end def puts! args, label='' puts "+++ +++ #{label}" puts args.inspect end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ish_lib_manager-0.0.1 | app/controllers/ish_lib_manager/application_controller.rb |