Update copyright 2025.
This commit is contained in:
@@ -8,6 +8,10 @@ class SubprincipleitemsController < ApplicationController
|
||||
def update
|
||||
@redirect_path = helpers.raw("#{company_caf_path(@caf.company, @caf)}##{helpers.dom_id(@subprincipleitem)}")
|
||||
respond_to do |format|
|
||||
if params[:affirmative].nil?
|
||||
@subprincipleitem.affirmative = false
|
||||
end
|
||||
|
||||
if @subprincipleitem.update(subprincipleitem_params)
|
||||
|
||||
#format.html { redirect_to company_caf_path(@caf.company, @caf) , html_options: { target: helpers.dom_id(@subprincipleitem) } , notice: "html" }
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<script>
|
||||
window.location.href= "<%=@redirect_path%>";
|
||||
window.location.href= "<%=@redirect_path%>";
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user