Skip to content

Commit

Permalink
simplifying the engine, removing hogan assets support, removing rake …
Browse files Browse the repository at this point in the history
…tasks
  • Loading branch information
datapimp committed May 6, 2013
1 parent 76fec09 commit 37bf84b
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions lib/luca/rails/engine.rb
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
require 'hogan_assets'
module Luca
module Rails
class Engine < ::Rails::Engine
rake_tasks do
load "railties/luca/tasks.rake"
end

initializer "luca.register_template" do |app|
app.assets.register_engine ".luca", Luca::Template
Luca::TestHarness.set(:sprockets,app.assets)
Luca::TestHarness.set :root, File.expand_path('../../../../', __FILE__)
end

initializer "sprockets.hogan", :after => "sprockets.environment", :group => :all do |app|
HoganAssets::Config.configure do |config|
config.template_namespace = 'JST'
end
end

end
end
end
Expand Down

0 comments on commit 37bf84b

Please sign in to comment.