From e342c9a589701d48ddc3fe6fc0f58f30e511bafc Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Mon, 6 May 2013 23:42:00 +0600 Subject: [PATCH] add more reserved names: upload,uploads,download --- lib/ext/rails/reserved_name_validator.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ext/rails/reserved_name_validator.rb b/lib/ext/rails/reserved_name_validator.rb index 408c8b05f..9036cd5a6 100644 --- a/lib/ext/rails/reserved_name_validator.rb +++ b/lib/ext/rails/reserved_name_validator.rb @@ -1,10 +1,10 @@ class ReservedNameValidator < ActiveModel::EachValidator RESERVED_NAMES = %w{ - about account add admin administrator api autocomplete_group_uname + about account add admin administrator api upload uploads autocomplete_group_uname app apps archive archives auth blog config connect contact create commit commits - dashboard delete direct_messages downloads + dashboard delete direct_messages download downloads edit email faq favorites feed feeds follow followers following help home