Skip to content

Commit

Permalink
Re-enable the autoload functionality for all environments
Browse files Browse the repository at this point in the history
  • Loading branch information
zulhfreelancer committed Jan 1, 2017
1 parent c231a22 commit bebd340
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module BanjirApi
class Application < Rails::Application
config.time_zone = 'Asia/Kuala_Lumpur'
config.autoload_paths << Rails.root.join('lib')
config.enable_dependency_loading = true

config.middleware.insert_before 0, "Rack::Cors" do
allow do
Expand Down

0 comments on commit bebd340

Please sign in to comment.