lib/plezi/handlers/controller_magic.rb in plezi-0.12.2 vs lib/plezi/handlers/controller_magic.rb in plezi-0.12.3
- old
+ new
@@ -227,10 +227,10 @@
module ClassMethods
public
# This class method behaves the same way as the instance method #url_for. See the instance method's documentation for more details.
def url_for dest
- get_pl_route.url_for dest
+ get_pl_route.url_for dest
end
# resets the routing cache
def reset_routing_cache
@inheritance.each {|sub| sub.reset_routing_cache} if @inheritance