Permalink
Browse files

Consolidate helpers

  • Loading branch information...
1 parent 7391128 commit 85aeb12c18e376c85257c898bf2a77cedd9f9e19 @dmac committed Aug 8, 2012
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

0 comments on commit 85aeb12

Please sign in to comment.