Skip to content

Instantly share code, notes, and snippets.

@nalindz
Created February 9, 2012 20:31
Show Gist options
  • Save nalindz/1782871 to your computer and use it in GitHub Desktop.
Save nalindz/1782871 to your computer and use it in GitHub Desktop.
LionWeb::Application.routes.draw do
resource :session
resource :profile
resources :messages
resources :questions do
resources :answers, :controller => "question_answers"
collection do
get :randomized
match ':/page' => "page#show"
end
end
resources :answers
resources :users do
resource :timeline
resources :messages
end
resources :users_topics
resources :topics
resource :version
resources :question_skip_counts
match 'terms' => 'terms#index'
match 'privacy' => 'privacy#index'
match 'help' => 'help#index'
match 'disputeresolution.html' => 'disputeresolution#index'
match 'disputeresolution_forms.html' => 'disputeresolution_forms#index'
root :to => 'home#index'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment