Refactor Qsupplier.App to App
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user