Skip to content

Instantly share code, notes, and snippets.

@8th-Light-Blog
Created June 28, 2011 14:56
Show Gist options
  • Save 8th-Light-Blog/1051313 to your computer and use it in GitHub Desktop.
Save 8th-Light-Blog/1051313 to your computer and use it in GitHub Desktop.
Blog Title: One Take on Configuring Rails Routes and asset_host (Part 2)
Author: Jim Suchy
Date: December 2nd, 2008
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