Actualiza el plugin Additionals a 3.0.2-master

This commit is contained in:
Manuel Cillero 2021-03-20 11:12:56 +01:00
parent 3b6a41320c
commit cfa0d58b18
164 changed files with 2027 additions and 58190 deletions

View file

@ -1,25 +1,11 @@
# Plugin's routes
# See: http://guides.rubyonrails.org/routing.html
# Don't create routes for repositories resources with only: []
# do not override Redmine's routes.
resources :issues, only: [] do
resource 'assign_to_me', only: %i[update], controller: 'additionals_assign_to_me'
resource 'change_status', only: %i[update], controller: 'additionals_change_status'
end
resource :dashboard_async_blocks, only: %i[show create]
resources :dashboards do
member do
post :update_layout_setting
post :add_block
post :remove_block
post :order_blocks
Rails.application.routes.draw do
resources :issues, only: [] do
resource 'assign_to_me', only: %i[update], controller: 'additionals_assign_to_me'
resource 'change_status', only: %i[update], controller: 'additionals_change_status'
end
end
resources :projects, only: [] do
resource :dashboard_async_blocks, only: %i[show create]
resources :dashboards do
member do
post :update_layout_setting
@ -28,14 +14,26 @@ resources :projects, only: [] do
post :order_blocks
end
end
resource :dashboard_async_blocks, only: %i[show create]
end
resource :additionals_macros, only: :show, path: '/help/macros'
resources :projects, only: [] do
resources :dashboards do
member do
post :update_layout_setting
post :add_block
post :remove_block
post :order_blocks
end
end
resource :dashboard_async_blocks, only: %i[show create]
end
resources :auto_completes, only: [] do
collection do
get :issue_assignee
get :fontawesome
resource :additionals_macros, only: :show, path: '/help/macros'
resources :auto_completes, only: [] do
collection do
get :issue_assignee
get :global_users
get :fontawesome
end
end
end