mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 19:44:59 +08:00
The original commit added route-based targeting for house ads, allowing ads to be shown on specific Ember routes in addition to categories. However, the filtering logic was implemented inconsistently - the `chooseAdHtml()` method correctly filters by both categories and routes, but the `didInsertElement()` method (which initializes random ad positions) only filters by categories. |
||
|---|---|---|
| .. | ||
| adsense-test.js | ||
| dfp-test.js | ||
| house-ad-test.js | ||
| mixed-ads-test.js | ||