Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple path #4

Merged
merged 6 commits into from Apr 26, 2016
Merged

Multiple path #4

merged 6 commits into from Apr 26, 2016

Conversation

csroli
Copy link

@csroli csroli commented Apr 26, 2016

Please take a look at this code. I've added support for json files in different directories based on the Mojolicious template system.

When registering the plugin, you can add an array of path to the dir parameter.
You can add more paths, pushing them to the app->form_fields_from_json_dir. Maybe it's name is a bit verbose.

@reneeb reneeb merged commit a1e7bfc into reneeb:master Apr 26, 2016
@reneeb
Copy link
Owner

reneeb commented Apr 26, 2016

Thanks a lot. This looks great!

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

Successfully merging this pull request may close these issues.

None yet

2 participants