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.12.4 app/helpers/para/navigation_helper.rb
para-0.12.3 app/helpers/para/navigation_helper.rb
para-0.12.2 app/helpers/para/navigation_helper.rb
para-0.12.1 app/helpers/para/navigation_helper.rb
para-0.12.0 app/helpers/para/navigation_helper.rb
para-0.11.4 app/helpers/para/navigation_helper.rb
para-0.11.3 app/helpers/para/navigation_helper.rb
para-0.11.2 app/helpers/para/navigation_helper.rb
para-0.11.1 app/helpers/para/navigation_helper.rb
para-0.11.0 app/helpers/para/navigation_helper.rb
para-0.10.0 app/helpers/para/navigation_helper.rb
para-0.9.4 app/helpers/para/navigation_helper.rb
para-0.9.3.3 app/helpers/para/navigation_helper.rb
para-0.9.3.2 app/helpers/para/navigation_helper.rb
para-0.9.3.1 app/helpers/para/navigation_helper.rb
para-0.9.2 app/helpers/para/navigation_helper.rb
para-0.9.0 app/helpers/para/navigation_helper.rb
para-0.8.15 app/helpers/para/navigation_helper.rb
para-0.8.14 app/helpers/para/navigation_helper.rb
para-0.8.13 app/helpers/para/navigation_helper.rb