From 6c39f6185f998208149dd84436cb7e0efd5b1fac Mon Sep 17 00:00:00 2001 From: Rada Bogdan Raul Date: Thu, 29 Sep 2016 14:35:35 +0300 Subject: [PATCH] minor update of router to use global scope and namespace of controller --- lib/washout_builder/router.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/washout_builder/router.rb b/lib/washout_builder/router.rb index 05baa06..b19b8b9 100644 --- a/lib/washout_builder/router.rb +++ b/lib/washout_builder/router.rb @@ -9,7 +9,7 @@ def initialize(controller_path) def call(env) env['washout_builder.controller_path'] = @controller_path - WashoutBuilderController.action(:all).call(env) + ::WashoutBuilder::WashoutBuilderController.action(:all).call(env) end end