mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
enable locations for basil
This commit is contained in:
parent
d965b08b7a
commit
eff80f54f6
@ -4,7 +4,7 @@ class BasilController < ApplicationController
|
||||
before_action :require_admin_access, only: [:review], unless: -> { Rails.env.development? }
|
||||
|
||||
def index
|
||||
@enabled_content_types = [Character].map(&:name)
|
||||
@enabled_content_types = [Character, Location].map(&:name)
|
||||
|
||||
@content_type = params[:content_type].try(:humanize) || 'Character'
|
||||
if @content_type.nil? || !@enabled_content_types.include?(@content_type)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user