preview/app.rb in dvl-flashes-0.0.1 vs preview/app.rb in dvl-flashes-0.0.2

- old
+ new

@@ -1,9 +1,9 @@ require 'sinatra/base' require 'sinatra/assetpack' -require 'erector' require 'active_support/all' +require 'erector' require 'dvl/flashes' class App < Sinatra::Base set :root, File.dirname(__FILE__) @@ -19,9 +19,10 @@ Erector.inline { rawtext '<!doctype html>' html { head { link href: '/css/dvl/flashes.css', rel: 'stylesheet', type: 'text/css', media: 'all' + style '* {box-sizing:border-box;}'.html_safe, type: 'text/css' } body { # Uncomment to test rendering from existing HTML # widget Dvl::Flashes::Views::Flashes.new(flash: { success: 'You did it!' })