diff --git a/app/controllers/wechat/admin/apps_controller.rb b/app/controllers/wechat/admin/apps_controller.rb index 6af0c129..fbcce331 100644 --- a/app/controllers/wechat/admin/apps_controller.rb +++ b/app/controllers/wechat/admin/apps_controller.rb @@ -41,7 +41,7 @@ def set_new_app def app_params p = params.fetch(:app, {}).permit( :type, - :name, + :nick_name, :enabled, :inviting, :appid, diff --git a/app/views/wechat/admin/apps/info.html.erb b/app/views/wechat/admin/apps/info.html.erb index 456cbbbe..71d93377 100644 --- a/app/views/wechat/admin/apps/info.html.erb +++ b/app/views/wechat/admin/apps/info.html.erb @@ -1,3 +1 @@ - - <%= render partial: 'info' %> - +<%= turbo_stream.append 'body', partial: 'info' %>