app/controllers/publications_controller.rb in aguids-publishable-0.1.3 vs app/controllers/publications_controller.rb in aguids-publishable-0.1.4
- old
+ new
@@ -1,5 +1,6 @@
class PublicationsController < ApplicationController
+ unloadable
def create
if unpublished_resource.publish!
flash[:notice] = I18n.t('flash.publications.create.notice', :default => "#{resource.class.human_name} published successfully")
end
\ No newline at end of file