Skip to content

Commit 9dd0c40

Browse files
committed
Fix problen with lost generators and rake tasks
Just setup gem as rails engine
1 parent 424475e commit 9dd0c40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/haml-rails.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
module Haml
66
module Rails
7+
class Engine < ::Rails::Engine
8+
end
79
class Railtie < ::Rails::Railtie
810
if ::Rails.version.to_s >= "3.1"
911
config.app_generators.template_engine :haml

0 commit comments

Comments
 (0)