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.
 
 
 
 
 

16 lines
289 B

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