当前位置: 代码迷 >> JavaScript >> ActionController:RoutingError (No route matches [GET] "/javascripts/application
  详细解决方案

ActionController:RoutingError (No route matches [GET] "/javascripts/application

热度:1364   发布时间:2013-12-28 22:19:33.0
ActionController::RoutingError (No route matches [GET] "/javascripts/application

ActionController::RoutingError (No route matches [GET] "/javascripts/application.js")

的解决方法

RAILS_ENV=production bundle exec rake assets:precompile

?production.rb中添加

config.serve_static_assets = true

?

  相关解决方案