Class: PhotosManager::Event

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/photos_manager/event.rb

Instance Method Summary collapse

Instance Method Details

#photos_numberObject



6
7
8
# File 'app/models/photos_manager/event.rb', line 6

def photos_number
	[photos.count.to_s, "photos"].join(" ")
end