File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
s . rubyforge_project = "haml-rails"
16
16
s . required_rubygems_version = ">= 1.3.6"
17
17
18
- s . add_dependency "haml" , [ ">= 3.1 " , "< 5.0" ]
18
+ s . add_dependency "haml" , [ ">= 4.0.6 " , "< 5.0" ]
19
19
s . add_dependency "activesupport" , [ ">= 4.0.1" ]
20
20
s . add_dependency "actionpack" , [ ">= 4.0.1" ]
21
21
s . add_dependency "railties" , [ ">= 4.0.1" ]
Original file line number Diff line number Diff line change @@ -7,14 +7,9 @@ module Rails
7
7
class Engine < ::Rails ::Engine
8
8
end
9
9
class Railtie < ::Rails ::Railtie
10
- if ::Rails . version . to_s >= "3.1"
11
- config . app_generators . template_engine :haml
12
- else
13
- config . generators . template_engine :haml
14
- end
10
+ config . app_generators . template_engine :haml
15
11
16
12
config . before_initialize do
17
- Haml . init_rails ( binding )
18
13
Haml ::Template . options [ :format ] = :html5
19
14
end
20
15
You can’t perform that action at this time.
0 commit comments