Dix published and archive method in procedure controller
This commit is contained in:
parent
d7eee773da
commit
14142d9433
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue