Better version info communication and administration

This commit is contained in:
2014-10-06 17:18:41 +02:00
parent a57e9e2341
commit eba3500311
7 changed files with 34 additions and 4 deletions
+4
View File
@@ -46,6 +46,10 @@ module ApplicationHelper
end
end
def app_version
File.read(Rails.root.join('config/version')).strip
end
def are_you_sure?(record = nil)
t('helpers.links.are_you_sure')
end