Added config.action_dispatch in application.rb