about summary refs log tree commit diff
path: root/app/validators
diff options
context:
space:
mode:
authorLain Iwakura <lain@soykaf.club>2017-11-14 16:54:04 +0100
committerLain Iwakura <lain@soykaf.club>2017-11-14 16:54:04 +0100
commitdae8916544d0a9cee5d998b10bc5cf36f144b727 (patch)
treeb08cdda6c95ddca1332d118ad2cb8241160f5f14 /app/validators
parentd11b1a1aa7a44e345f2458a712e6bbed85db267f (diff)
Code style fixes.
Diffstat (limited to 'app/validators')
-rw-r--r--app/validators/status_length_validator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/validators/status_length_validator.rb b/app/validators/status_length_validator.rb
index 2be899740..888de5a40 100644
--- a/app/validators/status_length_validator.rb
+++ b/app/validators/status_length_validator.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 class StatusLengthValidator < ActiveModel::Validator
-  MAX_CHARS = (ENV["MAX_CHARS"] || 500).to_i
+  MAX_CHARS = (ENV['MAX_CHARS'] || 500).to_i
 
   def validate(status)
     return unless status.local? && !status.reblog?