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

footer appended to pages that render :text #10

Closed
kevinolsen opened this issue Jan 8, 2010 · 3 comments
Closed

footer appended to pages that render :text #10

kevinolsen opened this issue Jan 8, 2010 · 3 comments

Comments

@kevinolsen
Copy link

i'm getting the footer in pages that render encrypted xml for communication with flash. is there any functionality to not render the footer for text, xml, json etc?

i'm using the gem: rails-footnotes (3.6.5)

@tobias
Copy link
Contributor

tobias commented Jan 14, 2010

Kevin:

I solved the same issue today. The fix for me was to set the request format to xml before the render like so:

request.format = :xml
render :text => 'blah blah blah'

@kevinolsen
Copy link
Author

I finally got the chance to verify this, and it worked like a champ!

thanks for help

@tobias
Copy link
Contributor

tobias commented May 20, 2010

Glad I could help.

This issue was closed.
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

No branches or pull requests

2 participants