add backwards compatibility settings method
This commit is contained in:
parent
a65899672f
commit
f363e4f7a1
|
@ -216,6 +216,11 @@ class Middleman::Base
|
||||||
|
|
||||||
public
|
public
|
||||||
|
|
||||||
|
# Backwards compatibilty with old Sinatra template interface
|
||||||
|
def settings
|
||||||
|
self
|
||||||
|
end
|
||||||
|
|
||||||
def logging?
|
def logging?
|
||||||
logging
|
logging
|
||||||
end
|
end
|
||||||
|
|
|
@ -49,6 +49,6 @@ Gem::Specification.new do |s|
|
||||||
s.add_development_dependency("rake", ["~> 0.9.2"])
|
s.add_development_dependency("rake", ["~> 0.9.2"])
|
||||||
s.add_development_dependency("rspec", ["~> 2.7.0"])
|
s.add_development_dependency("rspec", ["~> 2.7.0"])
|
||||||
s.add_development_dependency("jquery-rails")
|
s.add_development_dependency("jquery-rails")
|
||||||
s.add_development_dependency("bootstrap-rails")
|
s.add_development_dependency("bootstrap-rails", ["0.0.5"])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue