Project

General

Profile

Actions

Defect #43603

open

Delete link is not shown in the context menu in a sub-URI environment.

Added by Kenta Kumojima about 10 hours ago. Updated about 10 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues list
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
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

Actions

Also available in: Atom PDF