Hi everyone -
I'm trying to put together a really simple extension for the admin area that
relies on a javascript library.  I generated the extension and changed the
contents of the main extension.rb file to contain

def activate
  admin.page.index.add :top, 'new_header'
end

and placed a partial in
my_extension/app/views/admin/pages/_new_header.html.haml  that contains

- include_javascript 'admin/my_js'

When I restart my dev instance it doesn't show up.  When I put that same
snippet of haml in another header partial it does.  What am I missing to get
it to spit out the script tag?

Thanks in advance!

- Joel
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to