repo.or.cz
/
base_ror3_portal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Initial Commit from Base app
[base_ror3_portal.git]
/
app
/
controllers
/
application_controller.rb
blob
9de0f0e044e49eed3d3023401b9a08158bca5330
1
class ApplicationController < ActionController::Base
2
protect_from_forgery
3
include SslRequirement
4
5
rescue_from CanCan::AccessDenied do |exception|
6
flash[:error] = exception.message
7
redirect_to root_url
8
end
9
10
end