Method: Point::Base.collection_path
- Defined in:
- lib/point/base.rb
.collection_path(params = {}) ⇒ Object
Return the collection path for this model. Very lazy pluralizion here at the moment, nothing in Point needs to be pluralized with anything other than just adding an ‘s’.
58 59 60 |
# File 'lib/point/base.rb', line 58 def collection_path(params = {}) class_name.downcase + 's' end |