FEATURE: Display force_https warning in admin problems dashboard

This commit is contained in:
Vinoth Kannan
2018-01-11 12:16:10 +05:30
parent 2509bef2c0
commit b96ae14261
4 changed files with 43 additions and 4 deletions

View File

@ -9,6 +9,6 @@ class Admin::DashboardController < Admin::AdminController
end
def problems
render_json_dump(problems: AdminDashboardData.fetch_problems)
render_json_dump(problems: AdminDashboardData.fetch_problems(check_force_https: request.ssl?))
end
end