[#42] add reserved name "none" & fix sorting

This commit is contained in:
Alexander Machehin 2013-04-08 15:24:17 +06:00
parent 33bf06659b
commit febff6a0b8
1 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@ class ReservedNameValidator < ActiveModel::EachValidator
about account add admin administrator api autocomplete_group_uname
app apps archive archives auth
blog
config connect contact create commit commits
config connect contact create commit commits
dashboard delete direct_messages downloads
edit email
faq favorites feed feeds follow followers following
@ -12,18 +12,17 @@ class ReservedNameValidator < ActiveModel::EachValidator
jobs
login log-in log_in logout log-out log_out logs
map maps
new
new none
oauth oauth_clients openid
privacy
register remove replies rss root
save search sessions settings
signup sign-up sign_up signin sign-in sign_in signout sign-out sign_out
sitemap ssl subscribe
teams terms test trends tree
teams terms test tour trends tree
unfollow unsubscribe url user
widget widgets wiki
xfn xmpp
tour
}
def reserved_names