We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9354e2b commit 48f09bfCopy full SHA for 48f09bf
1 file changed
app/controllers/images_controller.rb
@@ -1,5 +1,6 @@
1
class ImagesController < ApplicationController
2
skip_before_action :authenticate_user!
3
+ rescue_from ActiveRecord::RecordNotFound, with: :render_404
4
5
layout 'images'
6
0 commit comments