mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #770 from hennevogel/feature_venue_show
Beautify venue#show
This commit is contained in:
commit
18bb1bd237
5 changed files with 53 additions and 41 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