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