Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed Jun 5, 2024
1 parent 56e88b8 commit cefcdde
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
member do
patch :note, to: 'urls#update_note'
end
patch :note, on: :member, to: 'urls#update_note'
end

# transfer_requests transfer_requests index get
Expand Down Expand Up @@ -133,9 +134,9 @@
# admin/urls/create admin::urls create put
resources :urls, only: %i[index edit show update destroy create] do
get "csv/:duration/:time_unit",
on: :collection,
to: "url_csvs#show",
as: "csv"
on: :collection,
to: "url_csvs#show",
as: "csv"
end

# admin/audits/:search admin::urls index get
Expand All @@ -146,7 +147,7 @@
# admin/groups/:id
# admin/groups/:id/urls
# admin/groups/:id/members
resources :groups, only: [:index, :show] do
resources :groups, only: %i[index show] do
resources :urls, only: [:index], controller: "group_urls"
resources :members, only: [:index], controller: "group_members"
end
Expand Down

0 comments on commit cefcdde

Please sign in to comment.