Project

General

Profile

Actions

Refactor #13895

closed

Replace deprecated :to with :action in routes

Added by Dominic Cleal almost 9 years ago. Updated over 6 years ago.

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

Description

Rails 4.2 deprecates route specifications with :to when they contain only an action name, issuing warnings. They should be using :action instead.

http://edgeguides.rubyonrails.org/4_2_release_notes.html#action-pack-deprecations

:to specifications with "controller#action" remain valid and unchanged.

Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3236 added
Actions #2

Updated by Dominic Cleal almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Dominic Cleal almost 9 years ago

  • Translation missing: en.field_release set to 136
Actions

Also available in: Atom PDF