Skip to content

Commit d5aa616

Browse files
committed
Add voxel level to new list, serve asset from level pages
1 parent 9e30da0 commit d5aa616

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dashboard/app/views/levels/new.html.haml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
%li= link_to "Build a Studio Level", levels_new_path(type: "Studio")
99
%li= link_to "Build a Calc Level", levels_new_path(type: "Calc")
1010
%li= link_to "Build an Eval Level", levels_new_path(type: "Eval")
11+
%li= link_to "Build a Minecraft Level", levels_new_path(type: "Minecraft")
1112
%li= link_to "Build a Multi Level", levels_new_path(type: "Multi")
1213
%li= link_to "Build a Match Level", levels_new_path(type: "Match")
1314
%li= link_to "Build a Text Match Level", levels_new_path(type: "TextMatch")

dashboard/config/routes.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
end
88

99
get '/s/minecraft/stage/1/puzzle/JehkobasFantasy_4.zip', to: redirect('/voxel_textures.zip')
10+
get '/levels/JehkobasFantasy_4.zip', to: redirect('/voxel_textures.zip')
1011

1112
resources :activity_hints, only: [:update]
1213
resources :callouts

0 commit comments

Comments
 (0)