Hey, I'm wondering if there's a nice way to have some JS behind authorization? I've got a private API and a private admin site but I'd really like to only serve the (asset pipelined) JS if the user is authenticated. Is there an easy way to do that? Thanks.
The difficulty I'm having seems to be because I assume asset pipeline files are public by default?