Permalink
Browse files

Reverted last changes

  • Loading branch information...
1 parent 069cb51 commit 9ea9df5de36ce40415c17ebb0ef5f1c8ecfd0168 @pyromaniac pyromaniac committed May 24, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 lib/nano_api/engine.rb
View
@@ -7,10 +7,8 @@ class Engine < Rails::Engine
config.autoload_paths << root.join('lib')
- config.after_initialize do
- Rails.application.config.action_dispatch.rescue_responses.merge!(
- "RestClient::ResourceNotFound" => :not_found
- )
- end
+ config.action_dispatch.rescue_responses.merge!(
+ "RestClient::ResourceNotFound" => :not_found
+ )
end
end

0 comments on commit 9ea9df5

Please sign in to comment.