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