scinote-web/config/routes/teams.rb

12 lines
311 B
Ruby
Raw Normal View History

2017-10-04 15:16:17 +08:00
# teams
get '/teams', to: 'teams/teams#index'
namespace :teams do
get '/new', to: 'teams#new'
get '/:team_id/details', to: 'teams#details'
2017-11-06 22:14:17 +08:00
get '/current_team', to: 'teams#current_team'
2017-10-04 15:16:17 +08:00
post '/', to: 'teams#create'
post '/change_team', to: 'teams#change_team'
post '/update', to: 'teams#update'
end