Merge branch 'patch/geo-readonly-json-errors' into 'master'
Geo: ReadOnly middleware improvements We should handle API requests (JSON) in a different way we handle normal requests. Current implementation always redirect to root and display error messages using `flash[:alert]`. This MR adds `{ message: "..." }` type of response when request is under `application/json` content_type. This is a small patch/enhancement for Geo (#76) See merge request !274
Showing
Please register or sign in to comment