Refactor Qsupplier.App to App

This commit is contained in:
2014-08-10 08:50:20 +02:00
parent 1a0f9b4ae5
commit 3451604dff
77 changed files with 200 additions and 197 deletions
+6 -2
View File
@@ -50,6 +50,10 @@ module ApplicationHelper
'mozo.bar'
end
def site_page_title
application_title
end
# Helper for displaying HTML currency values
def currency(amount, opts={})
amount ||= 0.0
@@ -102,10 +106,10 @@ module ApplicationHelper
end
def facebook_link
link_to 'Facebook', 'https://www.facebook.com/Qwaiter', target: :_blank
link_to 'Facebook', 'https://www.facebook.com/mozo.bar', target: :_blank
end
def twitter_link
link_to 'Twitter', 'https://www.twitter.com/Qwaiter', target: :_blank
link_to 'Twitter', 'https://www.twitter.com/mozo.bar', target: :_blank
end
# Add a script call to be executed when the dom is loaded.