0
0
Fork 0

Catching more exceptions that slipped through, removing AR logging from

production as it's very verbose and not very useful
This commit is contained in:
Eugen Rochko 2016-10-05 13:26:44 +02:00
parent b078885414
commit fe77921e47
7 changed files with 29 additions and 6 deletions

View file

@ -30,6 +30,12 @@ class ApplicationController < ActionController::Base
end
end
def gone
respond_to do |format|
format.any { head 410 }
end
end
def current_account
current_user.try(:account)
end