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