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 %>