lib/capcode/render/markaby.rb in capcode-render-markaby-0.1.0 vs lib/capcode/render/markaby.rb in capcode-render-markaby-0.2.0
- old
+ new
@@ -13,10 +13,10 @@
def render_markaby( f, opts = {} ) #:nodoc:
f = f.to_s
layout = opts.delete(:layout)||:layout
# Update options
- (Capcode.options[:markaby] || {}).merge(opts).each do |k, v|
+ (Capcode::Configuration.options[:markaby] || {}).merge(opts).each do |k, v|
Markaby::Builder.set(k, v)
end
assigns = {}
self.instance_variables.delete_if {|x| ["@response", "@env", "@request"].include?(x) }.each do |ivar|