lib/spire/router.rb in spire-0.1.8 vs lib/spire/router.rb in spire-0.1.9

- old
+ new

@@ -40,10 +40,10 @@ return self.run end def run require "#{@base_path}/controllers/#{@controller_value}Controller" - @app = Kernel.const_get(@controller_value).new + @app = Kernel.const_get(@controller_value).new(@base_path) return @app.method(@action_value).call end def call(env) self.disect(env) \ No newline at end of file