Merge pull request #770 from hennevogel/feature_venue_show

Beautify venue#show
This commit is contained in:
Stella Rouzi 2016-03-04 19:44:49 +02:00
commit 18bb1bd237
5 changed files with 53 additions and 41 deletions

View file

@ -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