Sha256: 88d39a9fbbf530623d42bf07d698289b3a84dd1e5add7f53e58ce0913393ce70

Contents?: true

Size: 260 Bytes

Versions: 59

Compression:

Stored size: 260 Bytes

Contents

module Para
  module NavigationHelper
    def component_section_active?(component_section)
      (@component_section && @component_section == component_section) ||
      (@component && @component.component_section_id == component_section.id)
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
para-0.7.3.p5 app/helpers/para/navigation_helper.rb
para-0.7.3.p4 app/helpers/para/navigation_helper.rb
para-0.7.3.p3 app/helpers/para/navigation_helper.rb
para-0.7.3.p2 app/helpers/para/navigation_helper.rb
para-0.7.3.p1 app/helpers/para/navigation_helper.rb
para-0.7.3 app/helpers/para/navigation_helper.rb
para-0.7.2 app/helpers/para/navigation_helper.rb
para-0.7.1 app/helpers/para/navigation_helper.rb
para-0.7.0 app/helpers/para/navigation_helper.rb
para-0.6.9 app/helpers/para/navigation_helper.rb
para-0.6.8 app/helpers/para/navigation_helper.rb
para-0.6.7 app/helpers/para/navigation_helper.rb
para-0.6.3 app/helpers/para/navigation_helper.rb
para-0.6.2 app/helpers/para/navigation_helper.rb
para-0.5.4 app/helpers/para/navigation_helper.rb
para-0.5.3 app/helpers/para/navigation_helper.rb
para-0.5.1 app/helpers/para/navigation_helper.rb
para-0.5.0 app/helpers/para/navigation_helper.rb
para-0.4.0 app/helpers/para/navigation_helper.rb