-
Notifications
You must be signed in to change notification settings - Fork 39
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
ActionController::UnknownFormat #22
Comments
Do you have a |
@bhushangahire did you try something like this?:
|
This gem already registers that mime type. So you should not have to register it yourself. |
Ah, cool -- thanks! |
Not sure what I did. But I guess we can close this. |
You have to restart the server upon serving your first prawn... for some reason. |
@costa this because it registers a new controller renderer for pdf.prawn files. You have to restart your server to get this installed. You should always be restarting your server after installing new gems amongst many other tasks. |
Installed Gem and created pdf.prawn view. When I am accessing url with .pdf. Its giving me ActionController::UnknownFormat Do I need to register the Mime type again ?
The text was updated successfully, but these errors were encountered: