Sha256: 258a77f5a9c4b89752582830d832240c1930f218a20475002ff40de09a46b35b

Contents?: true

Size: 512 Bytes

Versions: 1

Compression:

Stored size: 512 Bytes

Contents

Rails.application.routes.draw do
	get "authorize" => "session#new"
	get "callback" => "session#callback"

	get "login" => "session#index"
	get "sign_up" => "session#index"
	match "logout" => "session#destroy", via: [:get, :post, :delete]
	post 'users' => "users#create", :as => :user

	namespace :control_center do
		resources :languages, :user_roles
		resources :users do
			collection do
				get :check_user
				get :login
			end
		end
	end

	namespace :game_config do
		root :to => "dashboard#index"
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
onlinegames_info_connect-0.0.1 config/routes.rb