Created
September 18, 2012 04:57
-
-
Save j-mcnally/3741339 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
Tower.Route.draw -> | |
#@resources 'blogs' | |
@match '/blog', to: 'blogs#index', action: 'index', state: 'blog.index', name: 'indexBlog', method: ['GET'] | |
@match '/blog/posts/:id', to: 'blogs#show', action: 'show', state: 'blog.posts.show', name: 'postsBlog', method: ['GET'] | |
@match '/culture', to: 'cultures#index', action: 'index', state: 'culture.index', name: 'indexCulture', method: ['GET'] | |
@match '/contact', to: 'contacts#index', action: 'index', state: 'contact.index', name: 'indexContact', method: ['GET'] | |
@match '/work', to: 'works#index', action: 'index', state: 'work.index', name: 'indexWork', method: ['GET'] | |
@match '/team', to: 'teams#index', action: 'index', state: 'team.index', name: 'indexTeam', method: ['GET'] | |
@root to: 'homes#index', action: "index" | |
#@match '/test', to: 'application#test' | |
@match '/api/twitter/lists', to: 'Api.Twitter.Lists#index' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment