Sha256: 0f950b9648817cf686cfef913300a502753341f8abc89260a888ca3e9bf13362
Contents?: true
Size: 712 Bytes
Versions: 2
Compression:
Stored size: 712 Bytes
Contents
# frozen_string_literal: true module Decidim module Calendar class AdminEngine < ::Rails::Engine isolate_namespace Decidim::Calendar::Admin paths["db/migrate"] = nil paths["lib/tasks"] = nil routes do resources :external_events end initializer "decidim_calendar.admin_menu" do Decidim.menu :admin_menu do |menu| menu.item I18n.t("menu.calendar", scope: "decidim.calendar"), decidim_admin_calendar.external_events_path, icon_name: "calendar", position: 5.5, active: :inclusive end end def load_seeds nil end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-calendar-0.19.0 | lib/decidim/calendar/admin_engine.rb |
decidim-calendar-0.13.1.3 | lib/decidim/calendar/admin_engine.rb |