mirror of
https://github.com/neocities/neocities.git
synced 2025-05-16 01:17:19 +02:00
implement new signup form validation
This commit is contained in:
parent
1aac62923d
commit
42e2935916
6 changed files with 100 additions and 28 deletions
|
@ -126,4 +126,12 @@ if ENV['RACK_ENV'] != 'development'
|
|||
Sass::Plugin.options[:style] = :compressed
|
||||
Sass::Plugin.options[:never_update] = true
|
||||
Sass::Plugin.options[:full_exception] = false
|
||||
end
|
||||
|
||||
unless ENV['RACK_ENV'] == 'test'
|
||||
if File.exist?('./black_box.rb')
|
||||
require './black_box.rb'
|
||||
else
|
||||
puts "WARNING: Black box was not loaded!"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue