Class: Decidim::Conferences::ConferenceRoleAssignedEvent
- Inherits:
 - 
      Events::SimpleEvent
      
        
- Object
 - Events::SimpleEvent
 - Decidim::Conferences::ConferenceRoleAssignedEvent
 
 
- Includes:
 - Events::AuthorEvent
 
- Defined in:
 - app/events/decidim/conferences/conference_role_assigned_event.rb
 
Instance Method Summary collapse
Instance Method Details
#i18n_options ⇒ Object
      12 13 14 15 16 17 18 19 20 21 22  | 
    
      # File 'app/events/decidim/conferences/conference_role_assigned_event.rb', line 12 def { resource_path:, resource_title:, resource_url:, scope: event_name, participatory_space_title:, participatory_space_url:, role: i18n_role } end  | 
  
#i18n_role ⇒ Object
      8 9 10  | 
    
      # File 'app/events/decidim/conferences/conference_role_assigned_event.rb', line 8 def i18n_role I18n.t(extra["role"], scope: "decidim.admin.models.conference_user_role.roles", default: extra["role"]) end  |