Actions
Defect #43603
closedDelete link is missing from the context menu when using a relative URL root
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
After commit r23938, the Delete link is not displayed in the context menu when running in a sub-URI environment.
An exception is raised by Rails.application.routes.recognize_path.
# app/controllers/context_menus_controller.rb
@back = back_url # "/redmine/issues"
begin
# Recognize the controller and action from the back_url to determine
# which view triggered the context menu.
route = Rails.application.routes.recognize_path(@back) #=> ActionController::RoutingError
Files
Related issues
Actions