Sha256: 5007aa165c3c46085fe893e8ff826b9019aeff5fb43240fc044241774851dec5
Contents?: true
Size: 305 Bytes
Versions: 3
Compression:
Stored size: 305 Bytes
Contents
module Heart module ApplicationHelper def current_route?(controller_action) if /#/.match(controller_action) "current" if "#{controller_name}##{action_name}" == controller_action else "current" if controller_name == controller_action end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
heart-0.0.2 | app/helpers/heart/application_helper.rb |
heart-0.0.1 | app/helpers/heart/application_helper.rb |
heart-0.0.1.pre | app/helpers/heart/application_helper.rb |