Workarea 3.1.2
Fixes Enforce Host for Paths that Don't Match Routes
Moves enforce host logic from Workarea::ApplicationController
to a new middleware, Workarea::EnforceHostMiddleware
, to avoid depending on Rails routing. Adds new config skip_enforce_host to allow skipping enforcing host.
Issues
Pull Requests
Commits
- e36e7072d449d421a0b543e69f4eb1e1929d2310
- 0f6bbc62202a3dc7590a2e841a8d00a0c597879f
- 4f04baf1b2677f7eddb685406fd7de3bc36090b2
Returns Soft 404 for Searches with No Results
Changes the HTTP status code for searches with no results from 200 OK to 404 Not Found, as recommended by Google.
Issues
Commits
Enables Explicit ID on Toggle Buttons to Enforce Unique DOM IDs
Adds id
option to Workarea::Admin::ApplicationHelper#toggle_button_for
to allow enforcing unique IDs on Admin toggle buttons. Fixes a few instances of duplicate DOM IDs in the Admin.