picombo 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/classes/router.rb +1 -1
- data/lib/core/core.rb +1 -1
- metadata +2 -2
data/lib/classes/router.rb
CHANGED
@@ -107,7 +107,7 @@ module Picombo
|
|
107
107
|
Picombo::Bench.instance.start('controller_execution')
|
108
108
|
|
109
109
|
Picombo::Event.run('system.pre_controller')
|
110
|
-
if controller_methods.include?(uri[:method])
|
110
|
+
if controller_methods.include?(uri[:method].to_sym)
|
111
111
|
begin
|
112
112
|
if uri[:params].nil? or uri[:params].empty?
|
113
113
|
controller.send(uri[:method])
|
data/lib/core/core.rb
CHANGED