Sha256: 1389ca5e903ad82e132302b31fc24e1d5e8837eeee71eed0766b86adee480f41
Contents?: true
Size: 896 Bytes
Versions: 18
Compression:
Stored size: 896 Bytes
Contents
# frozen_string_literal: true require "searchlight" require "kaminari" require "jquery-tmpl-rails" require "icalendar" module Decidim module Meetings # This is the engine that runs on the public interface of `decidim-meetings`. # It mostly handles rendering the created meeting associated to a participatory # process. class Engine < ::Rails::Engine isolate_namespace Decidim::Meetings routes do resources :meetings, only: [:index, :show] do resource :registration, only: [:create, :destroy] resource :meeting_widget, only: :show, path: "embed" end root to: "meetings#index" end initializer "decidim_meetings.inject_abilities_to_user" do |_app| Decidim.configure do |config| config.abilities += ["Decidim::Meetings::Abilities::CurrentUserAbility"] end end end end end
Version data entries
18 entries across 18 versions & 2 rubygems