lib/roda/plugins/controller.rb in roda-controller-0.1.0 vs lib/roda/plugins/controller.rb in roda-controller-0.1.1
- old
+ new
@@ -95,11 +95,9 @@
controller_key, action = to.to_s.split('#')
result = dispatch(to, args: args, inject: inject)
view("#{controller_key}/#{action}")
-
- result
end
end
end
register_plugin(:controller, Controller)