Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (25 sloc) 1.013 kb
Roswell::Application.routes.draw do
get 'signup', :to => 'users#new'
get 'login', :to => 'sessions#new'
get 'logout', :to => 'sessions#destroy'
get 'search', :to => 'search#index'
resources :favorites, :only => [ :index, :create ]
delete '/favorites', :to => 'favorites#destroy'
resources :sessions
resources :users, only: [ :edit, :update ]
namespace :accounts do
resources :generic_accounts, :path => 'generic'
get 'generic/group/:group', :to => 'generic_accounts#grouped', :as => 'grouped_generic'
resources :web_accounts, :path => 'web'
get 'web/group/:group', :to => 'web_accounts#grouped', :as => 'grouped_web'
end
resources :licenses
get 'licenses/group/:group', :to => 'licenses#grouped', :as => 'grouped_licenses'
resources :notes
get 'notes/group/:group', :to => 'notes#grouped', :as => 'grouped_notes'
namespace :admin do
resources :users, :except => [ :show ]
resources :groups, :except => [ :show ]
end
root :to => 'sessions#new'
end
Jump to Line
Something went wrong with that request. Please try again.