allow blazer to be queried by tech admins (#6574) [deploy]

This commit is contained in:
Molly Struve 2020-03-11 14:10:16 -04:00 committed by GitHub
parent f3845f4d07
commit 01891afdd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ Rails.application.routes.draw do
namespace :internal do
get "/", to: redirect("/internal/articles")
authenticate :user, ->(user) { user.has_role?(:super_admin) } do
authenticate :user, ->(user) { user.has_role?(:tech_admin) } do
mount Blazer::Engine, at: "blazer"
end