mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Less duplication between the init.rbs.
This commit is contained in:
parent
2dc50fd434
commit
9d67c01b42
1 changed files with 1 additions and 7 deletions
|
@ -1,7 +1 @@
|
||||||
begin
|
load File.join(File.dirname(__FILE__), '..', 'init.rb')
|
||||||
require File.join(File.dirname(__FILE__), 'lib', 'haml') # From here
|
|
||||||
rescue LoadError
|
|
||||||
require 'haml' # From gem
|
|
||||||
end
|
|
||||||
|
|
||||||
Haml.init_rails(binding)
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue