新手问题 启动项目的时候出现 bug

easonlovewan · June 17, 2015 · Last by rei replied at June 17, 2015 · 1461 hits

Processing by ApplicationController#no_route as PNG Processing by ApplicationController#no_route as JPEG Processing by ApplicationController#no_route as CSS 似乎不太懂事路径的问题还是路由的问题??? 求大神

应该不是 bug,看 config/environments/production.rb

# Disable serving static files from the `/public` folder by default since
# Apache or NGINX already handles this.
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?

update,哦,似乎不是这个问题

routes.rb 末尾。

You need to Sign in before reply, if you don't have an account, please Sign up first.