Sha256: f8c3a179bbfca86e7ac4f26f836246581447b92ffcda9da87bba5a8b256b9bd8
Contents?: true
Size: 737 Bytes
Versions: 24
Compression:
Stored size: 737 Bytes
Contents
- if can?(:index, MySettings) = forge_menu_item item, forge_settings_path, :active => is_active(["settings", "countries", "tax_rates"]), :submenu => can?(:index, Country) || can?(:index, TaxRate) %ul.forge_submenu{ :class => is_active(["settings", "countries", "tax_rates"]) ? "#{item} active" : item } = link_to "Site Settings", forge_settings_path, :class => ('active' if is_active(["settings"])) = link_to "Countries", forge_countries_path, :class => ("active" if is_active(["countries"])) if @menu_items.include?("countries") if can?(:index, Country) = link_to "Tax Rates", forge_tax_rates_path, :class => ("active" if is_active(["tax_rates"])) if @menu_items.include?("tax_rates") if can?(:index, TaxRate) .spacer
Version data entries
24 entries across 24 versions & 1 rubygems