Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions ansible/roles/alaveteli/templates/config_routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
####

#### Help controller
match '/aide/insatisfait/:url_title' => 'help#unhappy',
match '/aide/insatisfait(/:url_title)' => 'help#unhappy',
:as => :help_unhappy,
:via => :get
# FIXME: this will break when we upgrade alaveteli, due to
Expand Down Expand Up @@ -402,9 +402,10 @@
match '/aide/modeles' => 'help#templates',
:as => :help_templates,
:via => :get
match '/aide/:action' => 'help#action',
match '/aide/:template' => 'help#action',
:as => :help_general,
:via => :get
:via => :get,
:template => /[-_a-z]+/
match '/aide' => 'help#index',
:as => :help,
:via => :get
Expand Down Expand Up @@ -696,7 +697,7 @@
end
resources :embargoes, :only => [:destroy, :create] do
collection do
post :destroy_batch, :only => [:destroy]
post :destroy_batch
end
end
resources :embargo_extensions, :only => [:create] do
Expand Down