]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/user_block.rb
Include description and tags in GPX details API response
[rails.git] / app / models / user_block.rb
index 23e1bcab6c26de4afd1e85019102ae64adc58b41..8c7ae390b00b22e02e3800017a33881647c0825a 100644 (file)
@@ -5,7 +5,7 @@ class UserBlock < ActiveRecord::Base
   belongs_to :creator, :class_name => "User", :foreign_key => :creator_id
   belongs_to :revoker, :class_name => "User", :foreign_key => :revoker_id
   
-  PERIODS = APP_CONFIG['user_block_periods']
+  PERIODS = USER_BLOCK_PERIODS
 
   ##
   # returns true if the block is currently active (i.e: the user can't