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
|
end
|
||||||
|
|
||||||
def publish
|
def publish
|
||||||
change_status({published: params[:published]})
|
change_status({published: true})
|
||||||
end
|
end
|
||||||
|
|
||||||
def archive
|
def archive
|
||||||
change_status({archived: params[:archive]})
|
change_status({archived: true})
|
||||||
end
|
end
|
||||||
|
|
||||||
def active_class
|
def active_class
|
||||||
|
|
Loading…
Reference in a new issue