Subprincples now have a default of false in the affirmative column.
We do now need to be able to flip that to :true and add the evidence.
This commit is contained in:
@@ -39,7 +39,7 @@ class CafsController < ApplicationController
|
||||
def update
|
||||
respond_to do |format|
|
||||
if @caf.update(caf_params)
|
||||
format.html { redirect_to caf_url(@caf), notice: "Caf was successfully updated." }
|
||||
format.html { redirect_to company_caf_url(@company, @caf), notice: "Caf was successfully updated." }
|
||||
format.json { render :show, status: :ok, location: @caf }
|
||||
else
|
||||
format.html { render :edit, status: :unprocessable_entity }
|
||||
@@ -53,7 +53,7 @@ class CafsController < ApplicationController
|
||||
@caf.destroy
|
||||
|
||||
respond_to do |format|
|
||||
format.html { redirect_to cafs_url, notice: "Caf was successfully destroyed." }
|
||||
format.html { redirect_to authenticated_root_url, notice: "Caf was successfully destroyed." }
|
||||
format.json { head :no_content }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user