Remove deprecated code
This commit is contained in:
parent
7b41b09208
commit
7c6ea5be6d
6
Gemfile
6
Gemfile
@ -29,7 +29,6 @@ group :development do
|
|||||||
gem 'capistrano-bundler'
|
gem 'capistrano-bundler'
|
||||||
gem 'capistrano-rails'
|
gem 'capistrano-rails'
|
||||||
gem 'capistrano-rails-console'
|
gem 'capistrano-rails-console'
|
||||||
#gem 'capistrano-rvm'
|
|
||||||
gem 'capistrano3-puma'
|
gem 'capistrano3-puma'
|
||||||
gem 'capistrano-rbenv'
|
gem 'capistrano-rbenv'
|
||||||
gem 'capistrano-nginx', github: 'koenpunt/capistrano-nginx'
|
gem 'capistrano-nginx', github: 'koenpunt/capistrano-nginx'
|
||||||
@ -61,8 +60,3 @@ group :test do
|
|||||||
gem 'launchy'
|
gem 'launchy'
|
||||||
gem 'selenium-webdriver'
|
gem 'selenium-webdriver'
|
||||||
end
|
end
|
||||||
|
|
||||||
#TODO: is rails-assets better than react-rails ?
|
|
||||||
#source 'https://rails-assets.org' do
|
|
||||||
#gem 'rails-assets-react'
|
|
||||||
#end
|
|
||||||
|
|||||||
@ -9,9 +9,6 @@ class PlayersController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
#TODO: Authorize
|
|
||||||
# e.g. retrieve own inventory but only inventory.count of other players
|
|
||||||
# and only other players in games to which you have access
|
|
||||||
respond_with(@player)
|
respond_with(@player)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user