diff --git a/app/index.rb b/app/index.rb index ee174099..8ff59edd 100644 --- a/app/index.rb +++ b/app/index.rb @@ -39,7 +39,7 @@ end get '/welcome' do require_login redirect '/' if current_site.plan_type != 'free' - erb :'welcome' + erb :'welcome', locals: {site: current_site} end get '/tutorials' do diff --git a/app/plan.rb b/app/plan.rb index 9d944716..5918bbbc 100644 --- a/app/plan.rb +++ b/app/plan.rb @@ -94,6 +94,6 @@ get '/plan/thanks' do erb :'plan/thanks' end -get '/plan/alternate' do +get '/plan/alternate/?' do erb :'/plan/alternate' -end \ No newline at end of file +end diff --git a/environment.rb b/environment.rb index 78f70caf..ccff05f4 100644 --- a/environment.rb +++ b/environment.rb @@ -32,12 +32,14 @@ DB = Sequel.connect $config['database'], sslmode: 'disable', max_connections: $c DB.extension :pagination # :nocov: +=begin if defined?(Pry) Pry.commands.alias_command 'c', 'continue' Pry.commands.alias_command 's', 'step' Pry.commands.alias_command 'n', 'next' Pry.commands.alias_command 'f', 'finish' end +=end # :nocov: Sidekiq::Logging.logger = nil unless ENV['RACK_ENV'] == 'production' diff --git a/views/plan/_pricing.erb b/views/plan/_pricing.erb index 72b796d4..56e062e7 100644 --- a/views/plan/_pricing.erb +++ b/views/plan/_pricing.erb @@ -273,7 +273,7 @@

Why become a Supporter?

- +