app/controllers/phcscriptcdnpro/script/extensions_controller.rb in phcscriptcdnpro-5.9.1 vs app/controllers/phcscriptcdnpro/script/extensions_controller.rb in phcscriptcdnpro-5.9.5
- old
+ new
@@ -1,11 +1,12 @@
require_dependency "phcscriptcdnpro/application_controller"
module Phcscriptcdnpro
class Script::ExtensionsController < ApplicationController
-
+
# Filters & Security
before_action :require_user
+ before_action :membership_info
before_action :set_script_extension, only: [:show, :edit, :update, :destroy]
# INDEX - Script Extension
def index
@script_extensions = Script::Extension.all