diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 584c94f..6ad277b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -4,10 +4,12 @@ Redstoner::Application.routes.draw do resources :comments end - resources :statics, only: [:home, :donate], path: '/' do + resources :statics, only: [:home, :donate, :online], path: '/' do collection do get 'donate' get 'home' + get 'online' + get 'privacy' get 'index' end end @@ -21,6 +23,7 @@ Redstoner::Application.routes.draw do post 'resend_mail' get 'edit_notifications' put 'update_login' + get 'edit_website_settings' end collection do get 'lost_password' @@ -30,10 +33,13 @@ Redstoner::Application.routes.draw do end resources :forumgroups, path: '/forums/groups' - resources :forums, path: '/forums' resources :forumthreads, path: '/forums/threads' do resources :threadreplies, path: 'replies' + collection do + get 'search' + end end + resources :forums, path: '/forums' resources :tools do collection do |