A corporation manager and dashboard for EVE Online
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
309 B

  1. module ApplicationHelper
  2. def get_title(title = '')
  3. base = '[Site Name]'
  4. title.empty? ? base : "#{title} : #{base}"
  5. end
  6. def get_copyright_year
  7. start = 2015
  8. year = Time.now.year
  9. year > start ? "#{start}–#{year}" : start
  10. end
  11. def get_project_version
  12. '0.1' # todo
  13. end
  14. end