Add phone number and address, dynamic map to mobile site
This commit is contained in:
1 parent
947c907f73
commit
0eb8e1a305
7 files changed
+30
-3
No files matched your search
@@ -27,6 +27,7 @@ class MobileController < ApplicationController
|
||||
end
|
||||
|
||||
def dialog_contact
|
||||
@site = Site.first
|
||||
@no_menu = @no_footer = true
|
||||
@page_title = t('mobile.contact')
|
||||
end
|
||||
@@ -42,6 +43,8 @@ class MobileController < ApplicationController
|
||||
end
|
||||
|
||||
def map
|
||||
site = Site.first
|
||||
@coordinates = Geocoder.coordinates("#{site.address}")
|
||||
@no_menu = @no_footer = true
|
||||
@page_title = t('mobile.location')
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user