zaid/thyracker

View on GitHub
app/helpers/application_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ApplicationHelper

  def title
    base_title = 'Thyracker'

    if @title.nil?
      base_title
    else
      "#{base_title} | #{@title}"
    end
  end

end