Sha256: 0760942c725245a54e4be8e590f9e51d6506ba9ee14cd94d9b1a6b10b116515f
Contents?: true
Size: 1.08 KB
Versions: 4
Compression:
Stored size: 1.08 KB
Contents
MyForum::Engine.routes.draw do root 'welcome#index' match 'signin', to: 'users#signin', via: [:get, :post] match 'logout', to: 'users#logout', via: [:get] match 'forgot_password', to: 'users#forgot_password', via: [:get, :post] match 'unread_topics', to: 'forums#unread_topics', via: [:get], as: :unread_topics match 'mark_all_as_read', to: 'forums#mark_all_as_read', via: [:get], as: :mark_all_as_read match 'post/:id', to: 'posts#show', via: [:get], as: :post_content resources :images resources :avatars resources :attachments resources :users do collection do get :autocomplete end end resources :private_messages resources :forums, only: [:index, :show] do resources :topics do resources :posts end end namespace :admin do root 'dashboard#index' match 'forums', to: 'forums#index', via: [:get] match 'mail_list', to: 'mail#index', via: [:get, :post] resources :emoticons resources :users resources :roles resources :categories do resources :forums end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
my_forum-0.0.1.beta27 | config/routes.rb |
my_forum-0.0.1.beta26 | config/routes.rb |
my_forum-0.0.1.beta25 | config/routes.rb |
my_forum-0.0.1.beta24 | config/routes.rb |