app/controllers/phcscriptcdn/scriptcdn/scripts_controller.rb in phcscriptcdn-0.7.0 vs app/controllers/phcscriptcdn/scriptcdn/scripts_controller.rb in phcscriptcdn-0.9.1
- old
+ new
@@ -2,10 +2,10 @@
module Phcscriptcdn
class Scriptcdn::ScriptsController < ApplicationController
# Filters and Security
- before_action :set_scriptcdn_script, only: [:show, :edit, :update, :destroy]
+ before_action :set_scriptcdn_scriptversion, only: [:show, :edit, :update, :destroy]
# ScriptCDN Index
def index
@scriptcdn_scripts = Scriptcdn::Script.all
end