Sha256: 7f452d99d2219b498dde8db175bf461e497b4516419c91ef66c036a47ea5b5a7
Contents?: true
Size: 852 Bytes
Versions: 1
Compression:
Stored size: 852 Bytes
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 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] resources :users resources :roles resources :categories do resources :forums end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
my_forum-0.0.1.beta2 | config/routes.rb |