From d0124362d1ef600700ea24cdc4463bd87fbba244 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Sun, 27 Dec 2015 00:42:40 +0800 Subject: [PATCH] small fixes for edit --- app/controllers/admin/vlogs_controller.rb | 2 +- app/views/admin/vlogs/_form.html.erb | 2 +- app/views/admin/vlogs/_index.html.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/admin/vlogs_controller.rb b/app/controllers/admin/vlogs_controller.rb index 808f027..22e7cda 100644 --- a/app/controllers/admin/vlogs_controller.rb +++ b/app/controllers/admin/vlogs_controller.rb @@ -52,7 +52,7 @@ class Admin::VlogsController < OrbitAdminController vlog.save end end - redirect_to admin_vlogs_path + redirect_to admin_vlogs_path(:page => params[:page]) end def show diff --git a/app/views/admin/vlogs/_form.html.erb b/app/views/admin/vlogs/_form.html.erb index 46e01af..7056563 100644 --- a/app/views/admin/vlogs/_form.html.erb +++ b/app/views/admin/vlogs/_form.html.erb @@ -58,7 +58,7 @@ Upload Video - +
" for="upload"> diff --git a/app/views/admin/vlogs/_index.html.erb b/app/views/admin/vlogs/_index.html.erb index e85b649..f6b0d59 100644 --- a/app/views/admin/vlogs/_index.html.erb +++ b/app/views/admin/vlogs/_index.html.erb @@ -33,7 +33,7 @@