routes.rb 851 Bytes
Newer Older
maxwell's avatar
maxwell committed
1
lsDiaspora::Application.routes.draw do |map|
2
  resources :blogs
maxwell's avatar
maxwell committed
3
  resources :bookmarks
maxwell's avatar
maxwell committed
4
  resources :friends
maxwell's avatar
maxwell committed
5
  resources :status_messages
6
  resources :comments
7
8
  match 'warzombie', :to => "dashboard#warzombie"

9
10
11
12
13
  #routes for devise, not really sure you will need to mess with this in the future, lets put default,
  #non mutable stuff in anohter file
  devise_for :users, :path_names  => {:sign_up  => "signup", :sign_in  => "login", :sign_out  => "logout"}
   match 'login', :to => 'devise/sessions#new', :as => "new_user_session"
   match 'logout', :to  => 'devise/sessions#destroy', :as => "destroy_user_session"
maxwell's avatar
maxwell committed
14
   #match 'signup', :to => 'devise/registrations#new', :as => "new_user_registration"
15
 
16

17
  resources :users
maxwell's avatar
playing    
maxwell committed
18
19
  match 'receive', :to => 'dashboard#receive'
  match "socket", :to => 'dashboard#socket'
20

21
  root :to => 'dashboard#index'
22

Raphael Sofaer's avatar
Raphael Sofaer committed
23
end