config/routes.rb in cadenero-0.0.2.a3 vs config/routes.rb in cadenero-0.0.2.b1
- old
+ new
@@ -6,9 +6,10 @@
scope :module => "account" do
root :to => "dashboard#index", default: :json
post '/sessions', :to => "sessions#create", default: :json
delete '/sessions', :to => "sessions#delete", default: :json
post '/users', :to => "users#create", default: :json
+ get '/users', :to => "users#show", :as => :users, default: :json
end
end
post '/accounts', :to => "accounts#create", :as => :accounts, default: :json
end