OSDN Git Service

fix:err dialog
[pettanr/pettanr.git] / app / controllers / application_controller.rb
index f236014..be0c189 100644 (file)
@@ -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