Skip to content
Extraits de code Groupes Projets
routes.rb 979 octets
Newer Older
  • Learn to ignore specific revisions
  • Diaspora::Application.routes.draw do |map|
    
    maxwell's avatar
    maxwell a validé
      resources :bookmarks
    
    maxwell's avatar
    maxwell a validé
      resources :status_messages
    
    ilya's avatar
    ilya a validé
      match 'warzombie', :to => "dashboards#warzombie"
    
      #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"
    
       #match 'signup', :to => 'devise/registrations#new', :as => "new_user_registration"
    
      match 'receive', :to => 'dashboards#receive'
    
    maxwell's avatar
    maxwell a validé
      match 'hubbub', :to => 'publics#hubbub'
    
      match '.well-known/host-meta', :to => 'publics#host_meta'
      match 'webfinger', :to => 'publics#webfinger'
    
    Raphael Sofaer's avatar
    Raphael Sofaer a validé
    end