mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 19:55:16 +00:00
add back broken routes from 777 (#778)
This commit is contained in:
parent
f96420befe
commit
bb55113732
1 changed files with 6 additions and 1 deletions
|
|
@ -126,7 +126,12 @@ Rails.application.routes.draw do
|
|||
post "my/settings/rotate_api_key", to: "users#rotate_api_key", as: :my_settings_rotate_api_key
|
||||
|
||||
namespace :my do
|
||||
resources :project_repo_mappings, param: :project_name, only: [ :edit, :update ], constraints: { project_name: /.+/ }
|
||||
resources :project_repo_mappings, param: :project_name, only: [ :edit, :update ], constraints: { project_name: /.+/ } do
|
||||
member do
|
||||
patch :archive
|
||||
patch :unarchive
|
||||
end
|
||||
end
|
||||
# resource :mailing_address, only: [ :show, :edit ]
|
||||
# get "mailroom", to: "mailroom#index"
|
||||
resources :heartbeats, only: [] do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue