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