scube-server/config/routes.rb
Thibault Jouan 7bf4d4c5f9 Add authentication and User model
* Add User model
* Add SessionsController
* Add password authentication on User
* Request authentication for all actions except sign in
* Add some helpers for ApplicationController
* Update features to work with mandatory authentication
2011-08-06 23:04:36 +00:00

11 lines
200 B
Ruby

Scube::Application.routes.draw do
resources :sessions, :only => [:new, :create]
resources :tracks do
get 'stream', :on => :member
end
resources :playlists
root :to => 'home#index'
end