OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix:err dialog
[pettanr/pettanr.git]
/
app
/
controllers
/
application_controller.rb
diff --git
a/app/controllers/application_controller.rb
b/app/controllers/application_controller.rb
index
f236014
..
be0c189
100644
(file)
--- a/
app/controllers/application_controller.rb
+++ b/
app/controllers/application_controller.rb
@@
-515,7
+515,7
@@
class ApplicationController < ActionController::Base
end
end
-
#
if Rails.env == 'production'
+ if Rails.env == 'production'
rescue_from ActiveRecord::RecordNotFound, :with => :render_404
rescue_from ActiveRecord::Forbidden, :with => :render_403
@@
-547,5
+547,5
@@
class ApplicationController < ActionController::Base
}
end
end
-
#
end
+ end
end