lib/rasti/app/interaction.rb in rasti-app-0.0.7 vs lib/rasti/app/interaction.rb in rasti-app-0.0.8

- old
+ new

@@ -15,11 +15,11 @@ def initialize(container, context) @container = container @context = context end - def call(params) - thread_cache[:form] = self.class.build_form(params) + def call(form) + thread_cache[:form] = form validate! execute ensure thread_cache[:form] = nil end \ No newline at end of file