Ghost/core/test/unit
kirrg001 e4807a779c 🐛 Fixed default theme context
closes #9674

- the collection router had a hardcoded default context "home"
  - this is wrong
- the context array get's automatically filled for the collection
  - if you are serving a page e.g. /page/2/ -> it's "paged"
  - if you are serving / -> it's "home"
    - same for {{body_class}}, it outputs "home-template" on "/"
    - this is the same behaviour as in 1.23.x
2018-06-08 15:11:47 +02:00
..
adapters Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
api Extended the API object validation 2018-04-05 18:51:58 +02:00
apps Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
config Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
helpers Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
lib Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
models Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
public Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
services 🐛 Fixed default theme context 2018-06-08 15:11:47 +02:00
web Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
filters_spec.js Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00