Sha256: 1190f6b1d40f80e924f1497c5ea987b876409ef1d24d3f38fbbe45169152770d
Contents?: true
Size: 328 Bytes
Versions: 2
Compression:
Stored size: 328 Bytes
Contents
module Jobshop module ApplicationHelper def body_class @body_class ||= [ controller_class, "#{controller_name}__#{action_name}" ].flatten.uniq.compact end private def controller_class @controller_class = controller_path.split("/").reject { |i| i == "jobshop" } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jobshop-0.0.131 | app/helpers/jobshop/application_helper.rb |
jobshop-0.0.127 | app/helpers/jobshop/application_helper.rb |