Beautify venues#show
This commit is contained in:
parent
f83e76102f
commit
33e1c6eae1
4 changed files with 46 additions and 40 deletions
|
|
@ -23,6 +23,10 @@ class Venue < ActiveRecord::Base
|
|||
name.name if name
|
||||
end
|
||||
|
||||
def location?
|
||||
!(latitude.blank? || longitude.blank?)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def send_mail_notification
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue