app/controllers/phcscriptcdnpro/scriptcdn/scripts_controller.rb in phcscriptcdnpro-1.2.2 vs app/controllers/phcscriptcdnpro/scriptcdn/scripts_controller.rb in phcscriptcdnpro-1.3.0

- old
+ new

@@ -8,23 +8,21 @@ before_action :set_scriptcdn_scriptversion, only: [:show, :edit, :update, :destroy] # Script CDN Index def index @scriptcdn_scripts = Scriptcdn::Script.all - if current_user - render 'index' - else - render 'index_scriptlist' - end end + # Script List (Frontend) + def list + end + # Detailed Script CDN Profile def show - if current_user - render 'show' - else - render 'show_scriptlisting' - end + end + + # Script Individual Listing (Frontend) + def listing end # New Script for CDN def new @scriptcdn_script = Scriptcdn::Script.new