Class: Decidim::Conferences::ConferenceWidgetsController

Inherits:
WidgetsController
  • Object
show all
Defined in:
app/controllers/decidim/conferences/conference_widgets_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



8
9
10
11
12
# File 'app/controllers/decidim/conferences/conference_widgets_controller.rb', line 8

def show
  enforce_permission_to :embed, :conference, conference: model if model

  super
end