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

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.

Issues

Pull Requests

Commits

Now on GitHub