Skip to content

Commit

Permalink
apps
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Dec 17, 2023
1 parent 8a57c7a commit e506058
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/controllers/wechat/admin/apps_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def set_new_app
def app_params
p = params.fetch(:app, {}).permit(
:type,
:name,
:nick_name,
:enabled,
:inviting,
:appid,
Expand Down
4 changes: 1 addition & 3 deletions app/views/wechat/admin/apps/info.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
<turbo-frame id="modal">
<%= render partial: 'info' %>
</turbo-frame>
<%= turbo_stream.append 'body', partial: 'info' %>

0 comments on commit e506058

Please sign in to comment.