File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed
Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def new; end
99 # GET /pokemon/workshop
1010 def workshop ; end
1111
12- # POST /pokemon
12+ # POST /pokemon (Disabled as v2 released)
1313 def create
1414 pokemon = Pokemon . create (
1515 email : params [ :email ] ,
@@ -24,7 +24,7 @@ def create
2424 redirect_to pokemon_download_path ( key : pokemon . download_key )
2525 end
2626
27- # GET /pokemon/download
27+ # GET /pokemon/download (Disabled as v2 released)
2828 def show
2929 pokemon = Pokemon . find_by ( download_key : params [ :key ] )
3030 if pokemon . nil?
Original file line number Diff line number Diff line change 11<% provide(:title, '『ポケモンと学ぶ初めてのプログラミング』素材ダウンロードに参加する皆さまへ') %>
22<% provide(:desc, '『ポケモンと学ぶ初めてのプログラミング』のワークショップで必要となるポケモン素材のダウンロードページです。') %>
3- <% provide(:url, '/pokemon/downloads ') %>
3+ <% provide(:url, '/pokemon/download ') %>
44<% provide(:meta_image, '/img/pokemon_scratch.png') %>
55
66 <div class ="container " style ="line-height: 2.2em; ">
1212 < p style ="padding-top: 20px; ">
1313 ボタンをクリックして、< br class ="ignore-pc " /> ポケモン素材をダウンロードしよう!
1414 </ p >
15- <%= link_to @presigned_url , class : "btn-blue" , style : "max-width:320px; display:block; margin:20px auto 100px;" do %>
15+ <%= # link_to @presigned_url, class: "btn-blue", style: "max-width:320px; display:block; margin:20px auto 100px;" do %>
1616 < i class ="fas fa-folder-download white "> </ i >
1717 ポケモン素材をダウンロードする
18- <% end %>
18+ <%# end %>
1919 </ section >
20- </ div >
20+ </ div >
Original file line number Diff line number Diff line change 6969 resources :podcasts , only : %i( index show )
7070 resources :spaces , only : %i( index )
7171
72- get "/podcast" , to : redirect ( '/podcasts' )
73- get "/podcasts/feed" => "podcasts#feed"
74- get "/stats" => "stats#show"
72+ get "/podcast" , to : redirect ( '/podcasts' )
73+ get "/podcasts/feed" => "podcasts#feed"
74+ get "/stats" => "stats#show"
7575 get "/stretch3" => "stretch3s#new"
76- post "/stretch3" => "stretch3s#create"
77- get "/pokemon" => "pokemons#new"
78- #post "/pokemon" => "pokemons#create"
79- #get "/pokemon/download" => "pokemons#show"
76+ post "/stretch3" => "stretch3s#create"
77+ get "/pokemon" => "pokemons#new"
8078 get "/pokemon/download" , to : redirect ( '/pokemon' )
8179 get "/pokemon/workshop" => "pokemons#workshop"
8280
You can’t perform that action at this time.
0 commit comments