lib/amee-data-abstraction/calculation.rb in amee-data-abstraction-1.0.0 vs lib/amee-data-abstraction/calculation.rb in amee-data-abstraction-1.1.0
- old
+ new
@@ -125,11 +125,16 @@
end
# Return a string representing the AMEE Explorer URL which is assocaited
# with <tt>self</tt>
#
+ def discover_url
+ "http://discover.amee.com/categories#{path}"
+ end
+
def explorer_url
- "http://explorer.amee.com/categories#{path}"
+ Rails.logger.info "#explorer_url method deprecated. Use #discover_url" if defined? Rails
+ discover_url
end
protected
def initialize
\ No newline at end of file