app/controllers/phcscriptcdnpro/scriptcdn/mains_controller.rb in phcscriptcdnpro-1.5.1 vs app/controllers/phcscriptcdnpro/scriptcdn/mains_controller.rb in phcscriptcdnpro-1.5.2
- old
+ new
@@ -28,19 +28,19 @@
# POST Script CDN
def create
@scriptcdn_main = Scriptcdn::Main.new(scriptcdn_main_params)
if @scriptcdn_main.save
- redirect_to @scriptcdn_main, notice: 'Main was successfully created.'
+ redirect_to @scriptcdn_main, notice: 'Script was successfully created.'
else
render :new
end
end
# PATCH/PUT Script
def update
if @scriptcdn_main.update(scriptcdn_main_params)
- redirect_to @scriptcdn_main, notice: 'Main was successfully updated.'
+ redirect_to @scriptcdn_main, notice: 'Script was successfully updated.'
else
render :edit
end
end