app/controllers/phcscriptcdnpro/script/urls_controller.rb in phcscriptcdnpro-11.1.1 vs app/controllers/phcscriptcdnpro/script/urls_controller.rb in phcscriptcdnpro-11.2.0
- old
+ new
@@ -1,12 +1,13 @@
require_dependency "phcscriptcdnpro/application_controller"
module Phcscriptcdnpro
class Script::UrlsController < ApplicationController
- # Filters & Security
+ # Security & Action Filters
before_action :require_user
- before_action :membership_info
+ before_action :authrocket_membership_info
+ before_action :set_paper_trail_whodunnit
before_action :set_script_url, only: [:show, :edit, :update, :destroy]
# INDEX - Script Authors
def index
script_listing = Script::Listing.find(params[:listing_id])