DEV: minor fixes related to zeitwerk

A couple of specs stopped working post zeitwerk. Adding missing require
corrected inheritance to avoid a circular ref.
This commit is contained in:
Sam Saffron
2019-10-02 14:28:18 +10:00
parent 427d54b2b0
commit 3f6af54fe1
2 changed files with 3 additions and 1 deletions

View File

@@ -120,6 +120,8 @@ class TagsController < ::ApplicationController
end
def upload
require 'csv'
guardian.ensure_can_admin_tags!
file = params[:file] || params[:files].first