Dix published and archive method in procedure controller

This commit is contained in:
Xavier J 2016-06-13 11:04:50 +02:00
parent d7eee773da
commit 14142d9433

View file

@ -76,11 +76,11 @@ class Admin::ProceduresController < AdminController
end
def publish
change_status({published: params[:published]})
change_status({published: true})
end
def archive
change_status({archived: params[:archive]})
change_status({archived: true})
end
def active_class