Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 01cd1b4

Browse files
committed
Consolidate logic
1 parent 2e989ae commit 01cd1b4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

app/controllers/casino/application_controller.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@ class CASino::ApplicationController < ::ApplicationController
55

66
layout 'application'
77

8-
rescue_from ActionController::UnknownFormat do
9-
head :not_acceptable
10-
end
11-
128
unless Rails.env.development?
139
rescue_from ActionView::MissingTemplate, with: :missing_template
10+
rescue_from ActionController::UnknownFormat, with: :missing_template
1411
end
1512

1613
def cookies

0 commit comments

Comments
 (0)