Project

General

Profile

Refactor #27763

remove redundant url_for

Added by Amir Fefer 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

when `url_for` gets a string it returns the same string

url_for(compute_resource_path(@compute_resource))

equals to:

compute_resource_path(@compute_resource)

therefore there are few cases that url_for is redundant.

Associated revisions

Revision a53fe7ea (diff)
Added by Amir Fefer 10 months ago

Fixes #27763 - remove redundant url_for

History

#1 Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7015 added

#2 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases 1.24.0 added

#3 Updated by Amir Fefer 10 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker 10 months ago

  • Category set to Rails
  • Fixed in Releases deleted (1.24.0)

#5 Updated by Tomer Brisker 10 months ago

  • Fixed in Releases 1.24.0 added

Also available in: Atom PDF