From 754acc69450c0b74faf0a687ad67e189b80b2222 Mon Sep 17 00:00:00 2001 From: z9hang Date: Fri, 6 Mar 2015 15:33:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/admin_controller.rb | 2 ++ app/views/admin/enterprise_page_made.html.erb | 3 --- app/views/admin/mobile_version.html.erb | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 9cc6966c4..afe3c720e 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -325,6 +325,8 @@ class AdminController < ApplicationController #移动端版本管理 def mobile_version @versions = PhoneAppVersion.reorder('created_at desc') + @new_version = PhoneAppVersion.new + end end diff --git a/app/views/admin/enterprise_page_made.html.erb b/app/views/admin/enterprise_page_made.html.erb index 566f09bb8..607017f59 100644 --- a/app/views/admin/enterprise_page_made.html.erb +++ b/app/views/admin/enterprise_page_made.html.erb @@ -33,7 +33,4 @@ <%= submit_tag l(:button_save), :class => "small", :name => nil %> <% end %>
- - -
\ No newline at end of file diff --git a/app/views/admin/mobile_version.html.erb b/app/views/admin/mobile_version.html.erb index 293b0ec46..f8fd4ad6c 100644 --- a/app/views/admin/mobile_version.html.erb +++ b/app/views/admin/mobile_version.html.erb @@ -2,8 +2,9 @@ 发布新版本
+

当前版本: