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