Skip to content

Commit

Permalink
Merge pull request #51 from solver-it-sro/merge-under-post
Browse files Browse the repository at this point in the history
Change merge action from get to post method
  • Loading branch information
mirrec authored Sep 18, 2023
2 parents 73b72ad + fc67913 commit db27e7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/message_threads_table_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="flex flex-col justify-stretch items-stretch gap-4 p-4">
<div class="flex flex-col justify-stretch items-stretch rounded-md bg-white border border-gray-200">
<%= form_with(url:merge_message_threads_path, method: :get, local: true) do |form|%>
<%= form_with(url: merge_message_threads_path, local: true) do |form|%>
<div class="flex justify-stretch items-center gap-4 p-4 border-t-0 border-r-0 border-b border-l-0 border-gray-200">
<div class="todo flex justify-start items-start pr-[100px]">
<div class=" w-4 h-4 relative">
Expand Down
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

resources :message_threads do
collection do
get 'merge'
post 'merge'
end
resources :messages
end
Expand Down

0 comments on commit db27e7b

Please sign in to comment.