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