When trying to make a custom page in active_admin in a rails api-only app, I get the following:
$ is not defined
I moved jquery.js into my /assets folder and imported it in my active_admin.js.coffee by adding the following line:
#= require jquery
but when I load my custom partial I get the js error.
My rails 5 app is api-only except for active admin which I'm customising so I do not have an application.js to import things in.