gregbell/active_admin — pull request #1198 by patrick99e99 (2012-04-03 04:09:16+00:00)
Title: fix so config.require_js uses asset pipeline

ActiveAdmin's require_js config option was not utilizing the asset pipeline. Previously when trying to add a javascript file such via:

config.register_javascript "foo"

it would output a script tag with path of "javascripts/foo" instead of "/assets/foo.js" (note the file doesn't even have an extension).

By trying to force the path to be within the assets directory:
config.register_javascript "/assets/foo.js"

It would output a script tage with a path of "/javascripts//assets/foo.js"