mirror of
https://github.com/neocities/neocities.git
synced 2025-06-24 21:30:34 +02:00
fix for tutorial not accepting spaces in link text
This commit is contained in:
parent
2e2ddec790
commit
0fe2bcb649
2 changed files with 2 additions and 2 deletions
|
@ -24,6 +24,7 @@ end
|
|||
|
||||
get '/tutorial/:section/?' do
|
||||
require_login
|
||||
not_found unless %w{html css js}.include?(params[:section])
|
||||
redirect "/tutorial/#{params[:section]}/1"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue