lib/rasti/app.rb in rasti-app-0.0.8 vs lib/rasti/app.rb in rasti-app-0.0.9

- old
+ new

@@ -65,12 +65,14 @@ authorize! permission, form self.class.facade.call name, container, context, form end def enqueue(name, permission, params={}) + queue = params.delete(:queue) + form = self.class.facade.build_form name, params authorize! permission, form - self.class.facade.enqueue name, context, form + self.class.facade.enqueue name, context, form, queue end def authorize!(permission, form) policy.authorize! permission, form end \ No newline at end of file