Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Consolidate helpers

  • Loading branch information...
commit 85aeb12c18e376c85257c898bf2a77cedd9f9e19 1 parent 7391128
@dmac authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 app.rb
View
4 app.rb
@@ -9,8 +9,6 @@
require "sinatra/content_for2"
class App < Sinatra::Base
- include Pinion::SinatraHelpers
-
set :pinion, Pinion::Server.new("/assets")
configure do
@@ -25,7 +23,7 @@ class App < Sinatra::Base
pinion.watch "public"
pinion.watch "#{Gem.loaded_specs["bourbon"].full_gem_path}/app/assets/stylesheets"
- helpers Sinatra::ContentFor2
+ helpers Sinatra::ContentFor2, Pinion::SinatraHelpers
get "/" do
erb :index
Please sign in to comment.
Something went wrong with that request. Please try again.