app/controllers/phcscriptcdnpro/script/versions_controller.rb in phcscriptcdnpro-72.2.0 vs app/controllers/phcscriptcdnpro/script/versions_controller.rb in phcscriptcdnpro-73.0.0

- old
+ new

@@ -2,13 +2,12 @@ module Phcscriptcdnpro class Script::VersionsController < ApplicationController # Include Core Helpers, Security & Action Filters - include Phccorehelpers::ApplicationHelper + include Phccorehelpers::PhcpluginsproHelper before_action :authenticate_user! - before_action :phc_accounts_pro_admin_only before_action :set_paper_trail_whodunnit before_action :set_script_version, only: [:show, :edit, :update, :destroy] # INDEX - Script Versions def index @@ -68,10 +67,10 @@ @script_version = Script::Version.friendly.find(params[:id]) end # Only allow a trusted parameter "white list" through. def script_version_params - params.require(:script_version).permit(:scriptversion, :slug, :user_id, :org_id) + params.require(:script_version).permit(:scriptversion, :slug, :user_id, :org_id, :listing_id) end end end