app/controllers/phcscriptcdnpro/script/extensions_controller.rb in phcscriptcdnpro-70.0.0 vs app/controllers/phcscriptcdnpro/script/extensions_controller.rb in phcscriptcdnpro-71.0.0
- old
+ new
@@ -2,10 +2,10 @@
module Phcscriptcdnpro
class Script::ExtensionsController < ApplicationController
# Security & Action Filters
- before_action :authenticate_user!
+ before_action :authenticate_admin!
before_action :set_paper_trail_whodunnit
before_action :set_script_extension, only: [:show, :edit, :update, :destroy]
# INDEX - Script Extension
def index