app-routes 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/app-routes.rb +5 -1
- metadata +1 -1
data/lib/app-routes.rb
CHANGED
@@ -33,7 +33,11 @@ class AppRoutes
|
|
33
33
|
@params.merge!(Hash[raw_params2.map{|x,i| x.to_sym}.zip(args)])
|
34
34
|
end
|
35
35
|
|
36
|
-
|
36
|
+
begin
|
37
|
+
result = @route[key][:block].call *args
|
38
|
+
rescue
|
39
|
+
"app-routes error: " + ($!).to_s
|
40
|
+
end
|
37
41
|
|
38
42
|
break
|
39
43
|
end
|