app/controllers/phcscriptcdnpro/script/licences_controller.rb in phcscriptcdnpro-30.0.0 vs app/controllers/phcscriptcdnpro/script/licences_controller.rb in phcscriptcdnpro-30.1.0
- old
+ new
@@ -14,10 +14,10 @@
end
# DETAILS - Script Licences
def show
@script_licences = Script::Licence.friendly.find(params[:id])
- @versions = PaperTrail::Version.where(item_id: params[:id], item_type: 'Phcmemberspro::Directory::Category')
+ @versions = Phcscriptcdnpro::LicenceVersions.where(item_id: params[:id], item_type: 'Phcscriptcdnpro::Script::Licence')
end
# NEW - Script Licences
def new
@script_licence = Script::Licence.new