Created
June 28, 2011 14:56
-
-
Save 8th-Light-Blog/1051313 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Blog Title: One Take on Configuring Rails Routes and asset_host (Part 2) | |
Author: Jim Suchy | |
Date: December 2nd, 2008 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionController::Routing::Routes.draw do |map| | |
APPLICATION_CONFIGURATION[:my_rails_app_routes].call(map) if APPLICATION_CONFIGURATION[:my_rails_app_routes] | |
# Install the default route as the lowest priority. | |
map.connect ':controller/:action/:id.:format' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment