Created
March 22, 2012 16:13
-
-
Save levinotik/2159257 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MobileBackend::Application.routes.draw do | |
devise_for :posts | |
devise_for :users, :controllers => { :sessions => "sessions" } | |
devise_scope :user do | |
# namespace :api do | |
# namespace :v1 do | |
resources :sessions, :registration, :only => [:create, :destroy] | |
# end | |
# end | |
end | |
resources :users | |
root :to => 'welcome#index' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment