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

Extracted duplicated download_format_links methods into helper #1752

Merged
merged 1 commit into from
Nov 2, 2012

Conversation

randym
Copy link
Contributor

@randym randym commented Nov 2, 2012

This serves two purposes. The first is to remove the duplicated code,
and the second is to stop using a hard coded list of default formats.
With this change, plugins can specify additional download formats so
long as the Mime type is registered.

Once this has been merged, I will release a gem that can be used to add xlsx downloads for collections.

This serves two purposes. The first is to remove the duplicated code,
and the second is to stop using a hard coded list of default formats.
With this change, plugins can specify additional download formats so
long as the Mime type is registered.
@pcreux
Copy link
Contributor

pcreux commented Nov 2, 2012

Looks good to me.

I wonder why Travis did not run this PR...

pcreux added a commit that referenced this pull request Nov 2, 2012
Extracted duplicated download_format_links methods into helper
@pcreux pcreux merged commit b59a354 into activeadmin:master Nov 2, 2012
@randym
Copy link
Contributor Author

randym commented Nov 2, 2012

@pcreux Cheers mate. Travis PR issues should be resolved now.

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.

2 participants