ActionController::RoutingError (No route matches [GET] "/javascripts/application.js")
的解决方法
RAILS_ENV=production bundle exec rake assets:precompile
?production.rb中添加
config.serve_static_assets = true
?
日期:2014-05-16 浏览次数:20398 次
ActionController::RoutingError (No route matches [GET] "/javascripts/application.js")
的解决方法
RAILS_ENV=production bundle exec rake assets:precompile
?production.rb中添加
config.serve_static_assets = true
?