Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
routing system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Sep 2013 at 21:27 UTC
Updated:
29 Jul 2014 at 22:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehner.
Comment #2
pwolanin commentedyes, simple fix.
Comment #3
webchickHm. Tests? :\
Comment #4
dawehnerI was indeed confused that alex refused some tests for https://drupal.org/node/2078285#comment-7859707
Comment #5
dawehnerSo here is a unit test, take it or drop it :)
Comment #6
dawehner#5: controller-2089195-FAIL.patch queued for re-testing.
Comment #7
berdirYes, agreed that it makes sense. There are use cases where you need the config factory, but $this->config() should work the same way as Drupal::config().
Unit tests look fine to me, we can extend them for other methods if there's a problem later on.
Comment #8
andypost+1 to rtbc, this really need for complex controllers
Comment #9
alexpottCommitted a40399f and pushed to 8.x. Thanks!