RailsAdmin Could not load model

I'm trying to direct to my main controller method on a button click.

My routes look like this:

match '/admin/Company/import_attachments' => 'rails_admin/main#import_attachments', :via => [:get]
match '/admin/Company/import_assets' => 'rails_admin/main#import_assets', :via => [:get]

The logs show that it is going to the main controller and method I wanted:

[INFO] [development] [Thread-2244] 2019-11-13 09:17:29.223 :: Started GET "/admin/Company/import_attachments" for x.x.x.x at 2019-11-13 09:17:29 UTC
[DEBUG] [development] [Thread-2244] 2019-11-13 09:17:32.350 ::   ActiveRecord::SchemaMigration Load (21.4ms)  SELECT `schema_migrations`.* FROM `schema_migrations`
[INFO] [development] [Thread-2244] 2019-11-13 09:17:36.746 :: Processing by RailsAdmin::MainController#import_attachments as HTML

I then get this in the logs:

[RailsAdmin] Could not load model , assuming model is non existing. (wrong constant name )

And this in the browser:

Model '' could not be found

My method is literally just a binding.pry which is not being triggered. I can't tell why it's trying to load a model, and why that model is a null value ''.