I\'m learning Rails and want to play with Rails and Twitter Bootstrap. My Rails project layout is:
├─assets │ ├─images │ ├─javascripts │ └─stylesheets ├─c
Redirect calls in routes.rb
routes.rb
get '/img/:name', to: redirect {|params, req| "/assets/#{params[:name]}.#{params[:format]}" }
This will redirect calls for /img to /assets
/img
/assets