Skip to content

Commit b164c37

Browse files
committed
Merge pull request #544 from iamvery/fix-env
Fix typo in prod env check
2 parents a88b7e7 + 7e58634 commit b164c37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/jsonapi/exceptions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def initialize(exception)
1010
end
1111

1212
def errors
13-
unless Rails.env.prod?
13+
unless Rails.env.production?
1414
meta = Hash.new
1515
meta[:exception] = exception.message
1616
meta[:backtrace] = exception.backtrace

0 commit comments

Comments
 (0)