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

Avoid "Foodsoft Error" for unknown URLs #370

Closed
paroga opened this issue Jun 5, 2015 · 6 comments
Closed

Avoid "Foodsoft Error" for unknown URLs #370

paroga opened this issue Jun 5, 2015 · 6 comments

Comments

@paroga
Copy link
Member

paroga commented Jun 5, 2015

I regularly get the following error because some user want to access an not existing file "/apple-touch-icon.png":

An ActionView::MissingTemplate occurred in home#index:

  Missing template home/index, application/index with {:locale=>[:de, :en], :formats=>[:png], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml]}. Searched in:
  * "/XXXXX/foodsoft/app/views"
  * "/XXXXX/foodsoft/plugins/forum/app/views"
  * "/XXXXX/foodsoft/plugins/documents/app/views"
  * "/XXXXX/foodsoft/plugins/messages/app/views"
  * "/XXXXX/foodsoft/plugins/wiki/app/views"
  * "/XXXXX/bundler/gems/forem-XXX/app/views"
  * "/XXXXX/gems/twitter-bootstrap-rails-XXX/app/views"
  * "/XXXXX/gems/kaminari-XXX/app/views"

  app/controllers/application_controller.rb:208:in `set_currency'
@wvengen
Copy link
Member

wvengen commented Jun 6, 2015

Good point. I guess we could setup a default logo image? Perhaps we could improve on our current :)

@paroga
Copy link
Member Author

paroga commented Jun 6, 2015

For me it would be already ok if we could serve a simple 404 and don't raise an error. :-)

@wvengen
Copy link
Member

wvengen commented Jun 6, 2015

Hmm, I guess I missed the point ;) Let's do that, I'll have a look.

@wvengen
Copy link
Member

wvengen commented Jul 20, 2015

PR in #375, would that solve your issue?

@wvengen
Copy link
Member

wvengen commented Aug 25, 2015

Should be fixed with #375, please reopen when this is still a problem.

@wvengen wvengen closed this as completed Aug 25, 2015
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