Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Two minor updates to asset loading #6

Closed
wants to merge 2 commits into from

Conversation

thebenedict
Copy link
Collaborator

This PR makes two changes:

  1. Since Administrate now renders include tags for field gems' assets, I removed the rendering of include tags from _form.html.erb

  2. To avoid needing to explicitly add administrate-field-json's js and css to the config.assets.precompile path, renamed the top level .js and .css files to "application".

This is working well for me on Rails 4.2, Administrate 0.2.2. Should close #4 and make #3 unnecessary.

@thebenedict
Copy link
Collaborator Author

Asset issues were fixed after the discussion in #4 so this PR is no longer needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

administrate-field-json.js not loading
1 participant