Created
September 1, 2010 19:56
-
-
Save dreamr/561242 to your computer and use it in GitHub Desktop.
This file contains hidden or 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| | |
map.resources :communities | |
SprocketsApplication.routes(map) | |
# Translate::Routes.translation_ui(map) if RAILS_ENV != "production" | |
# map.root :controller => 'folders', :action => 'index' | |
# map.connect '/icons/:key', :controller => :icons, :action => :show | |
# | |
# map.connect 'assets/:id/:style/:filename', :controller => 'uploads', :action => 'download', :conditions => { :method => :get }, :requirements => { :filename => /.*/ } | |
# map.connect '*path', :controller => 'application', :action => 'rescue_404' unless RAILS_ENV == 'development' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment