app/controllers/phcscriptcdnpro/script/extensions_controller.rb in phcscriptcdnpro-3.3.3 vs app/controllers/phcscriptcdnpro/script/extensions_controller.rb in phcscriptcdnpro-3.3.4
- old
+ new
@@ -2,9 +2,10 @@
module Phcscriptcdnpro
class Script::ExtensionsController < ApplicationController
# Filters & Security
+ before_action :require_user
before_action :set_script_extension, only: [:show, :edit, :update, :destroy]
# INDEX - Script Extension
def index
@script_extensions = Script::Extension.all