Commit 036132d2757a5ba561288b65ba870a4b00d2298b

Authored by Rodrigo Souto
1 parent 57338c4f

Using plugin namespace on new video type

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
plugins/video/lib/video_plugin.rb
... ... @@ -40,7 +40,7 @@ class VideoPlugin < Noosfero::Plugin
40 40 content_tag('a', _("New Video"),
41 41 { :id=>"new-video-btn",
42 42 :class=>"button with-text icon-new",
43   - :href=>url_for(:action => 'new', :type=>'Video', :controller=>'cms', :parent_id => content.id),
  43 + :href=>url_for(:action => 'new', :type=>'VideoPlugin::Video', :controller=>'cms', :parent_id => content.id),
44 44 :title=>_("New Video")
45 45 })
46 46 end
... ...