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