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