public
Created

Sinatra configure block

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9
########### configuration & settings ###########
configure do
set :name, ENV['NAME'] || 'DAZ4126'
set :author, ENV['AUTHOR'] || 'DAZ'
set :analytics, ENV['ANALYTICS'] || 'UA-XXXXXXXX-X'
set :javascripts, %w[ ]
set :fonts, %w[ Abel ]
set :markdown, :layout_engine => :slim
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.