Skip to content

Commit

Permalink
add blank page
Browse files Browse the repository at this point in the history
  • Loading branch information
jiikko committed Oct 30, 2022
1 parent 23e8c59 commit 1c04cc0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
10 changes: 10 additions & 0 deletions app/controllers/feature/gamepad/devices_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class Feature::Gamepad::DevicesController < ApplicationController
def index
end

def show
end

def emit
end
end
Empty file.
2 changes: 1 addition & 1 deletion app/views/feature/root/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<%= link_to 'ストリーミングサービス連携(beta)', streaming_services_path %>
</li>
<li>
<%= link_to 'WEBゲームパッド', streaming_services_path %>
<%= link_to 'WEBゲームパッド', feature_gamepad_devices_path %>
</li>
</ul>

Expand Down
6 changes: 6 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
end
end
end

namespace :gamepad do
resources :devices, only: [:index, :show] do
post :emit
end
end
end

namespace :api do
Expand Down

0 comments on commit 1c04cc0

Please sign in to comment.