lib/lolita/controllers/component_helpers.rb in lolita-3.1.17 vs lib/lolita/controllers/component_helpers.rb in lolita-3.1.18

- old
+ new

@@ -68,10 +68,10 @@ end def output_with_callbacks(partial_name,name,locals) @component_locals ||={} @component_locals[name] = locals - + output = Lolita::Hooks.component(name).run(:before,:run_scope => self).to_s block_output = Lolita::Hooks.component(name).run(:around, :run_scope => self) do render(:partial => partial_name,:locals=>locals) end output << block_output.to_s \ No newline at end of file