Sha256: 0aa123117e79aac166047068059908e07e9e620246a2b67b5f0cfbdf31f28b11

Contents?: true

Size: 496 Bytes

Versions: 13

Compression:

Stored size: 496 Bytes

Contents

module Optimacms
  module AdminMenu
    class AdminMenu
      include Optimacms::Concerns::AdminMenu::AdminMenu

      def self.get_menu_custom
        [
            {title: 'News', route: nil, submenu: [
                {title: 'News', url: Rails.application.routes.url_helpers.admin_news_index_path},
                {title: 'Categories', url: Rails.application.routes.url_helpers.admin_news_index_path},
            ]
            }

        ]

      end

    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
optimacms-0.3.35 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.3.34 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.3.30 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.3.29 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.3.23 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.3.15 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.3.12 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.3.11 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.2.26 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.2.25 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.2.24 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.3.4 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb
optimacms-0.3.3 spec/dummy/lib/optimacms/admin_menu/admin_menu.rb