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
9
9
# GET /pokemon/workshop
10
10
def workshop ; end
11
11
12
- # POST /pokemon
12
+ # POST /pokemon (Disabled as v2 released)
13
13
def create
14
14
pokemon = Pokemon . create (
15
15
email : params [ :email ] ,
@@ -24,7 +24,7 @@ def create
24
24
redirect_to pokemon_download_path ( key : pokemon . download_key )
25
25
end
26
26
27
- # GET /pokemon/download
27
+ # GET /pokemon/download (Disabled as v2 released)
28
28
def show
29
29
pokemon = Pokemon . find_by ( download_key : params [ :key ] )
30
30
if pokemon . nil?
Original file line number Diff line number Diff line change 1
1
<% provide(:title, '『ポケモンと学ぶ初めてのプログラミング』素材ダウンロードに参加する皆さまへ') %>
2
2
<% provide(:desc, '『ポケモンと学ぶ初めてのプログラミング』のワークショップで必要となるポケモン素材のダウンロードページです。') %>
3
- <% provide(:url, '/pokemon/downloads ') %>
3
+ <% provide(:url, '/pokemon/download ') %>
4
4
<% provide(:meta_image, '/img/pokemon_scratch.png') %>
5
5
6
6
<div class ="container " style ="line-height: 2.2em; ">
12
12
< p style ="padding-top: 20px; ">
13
13
ボタンをクリックして、< br class ="ignore-pc " /> ポケモン素材をダウンロードしよう!
14
14
</ 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 %>
16
16
< i class ="fas fa-folder-download white "> </ i >
17
17
ポケモン素材をダウンロードする
18
- <% end %>
18
+ <%# end %>
19
19
</ section >
20
- </ div >
20
+ </ div >
Original file line number Diff line number Diff line change 69
69
resources :podcasts , only : %i( index show )
70
70
resources :spaces , only : %i( index )
71
71
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"
75
75
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"
80
78
get "/pokemon/download" , to : redirect ( '/pokemon' )
81
79
get "/pokemon/workshop" => "pokemons#workshop"
82
80
You can’t perform that action at this time.
0 commit comments