Sha256: dba2e4623a065eae7cfd0a3acf7c79e2be2ff061d4153e8925d0d9c8fe3bc4a7
Contents?: true
Size: 352 Bytes
Versions: 2
Compression:
Stored size: 352 Bytes
Contents
module RocketJobMissionControl module ApplicationHelper def site_title 'Rocket Job Mission Control' end def title @page_title ||= params[:controller].to_s.titleize h(@full_title || [@page_title, site_title].compact.join(' | ')) end def active_page(path) "active" if current_page?(path) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rocketjob_mission_control-1.0.0 | app/helpers/rocket_job_mission_control/application_helper.rb |
rocketjob_mission_control-0.9.2 | app/helpers/rocket_job_mission_control/application_helper.rb |