acts_as_graph_object 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ module ActsAsGraphObject
|
|
15
15
|
# requires routes.default_url_options[:host] to be set!
|
16
16
|
# TODO: add warning message if method is called?
|
17
17
|
def url
|
18
|
-
url_helpers.send("#{self.class}_url".downcase, self)
|
18
|
+
url_helpers.send("#{self.class}_url".downcase, self) rescue nil
|
19
19
|
end
|
20
20
|
|
21
21
|
def type
|