Sha256: 4488dbac62aeb6d8be3a6f15e7e7eaea42872c433339a22e92c593d73df04ffc
Contents?: true
Size: 645 Bytes
Versions: 2
Compression:
Stored size: 645 Bytes
Contents
Rails.application.routes.draw do scope "/#{DailyConfig.subdirectory}" do devise_for :users, :only => :sessions do get "login", :to => "devise/sessions#new" get "logout", :to => "devise/sessions#destroy" root :to => "devise/sessions#new" end match 'home' => 'main#home', :as => :user_root resources :tables do resources :reports do member do post :generate end end end resources :reports, :only => :index resources :users get "account", :to => "users#edit" get "files/*path", :to => "files#show", :format => false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
daily-0.0.3 | config/routes.rb |
daily-0.0.2 | config/routes.rb |