Replaced before_filter with before_action in exceptions_controller.rb