app/controllers/phcscriptcdnpro/script/urls_controller.rb in phcscriptcdnpro-3.3.3 vs app/controllers/phcscriptcdnpro/script/urls_controller.rb in phcscriptcdnpro-3.3.4
- old
+ new
@@ -2,9 +2,10 @@
module Phcscriptcdnpro
class Script::UrlsController < ApplicationController
# Filters & Security
+ before_action :require_user
before_action :set_script_url, only: [:show, :edit, :update, :destroy]
# INDEX - Script Authors
def index
script_listing = Script::Listing.find(params[:listing_id])