Class: Decidim::Conferences::Admin::MediaLinkForm
- Inherits:
 - 
      Form
      
        
- Object
 - Form
 - Decidim::Conferences::Admin::MediaLinkForm
 
 
- Includes:
 - TranslatableAttributes
 
- Defined in:
 - app/forms/decidim/conferences/admin/media_link_form.rb
 
Overview
A form object used to create conference media link from the admin dashboard.
Instance Method Summary collapse
Instance Method Details
#link ⇒ Object
      21 22 23 24 25 26 27  | 
    
      # File 'app/forms/decidim/conferences/admin/media_link_form.rb', line 21 def link return if super.blank? return "http://#{super}" unless super.match?(%r{\A(http|https)://}i) super end  |