Commit 980d4cacb3e175339d68a2ff21b9d632708adb79

Authored by Braulio Bhavamitra
2 parents eeb785d2 50d57964

Merge branch 'ai2936' into 'master'

Allow _ in profiles identifiers

http://noosfero.org/Development/ActionItem2936

See merge request !63
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero/constants.rb
1 1 module Noosfero::Constants
2   - EMAIL_FORMAT = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i
  2 + EMAIL_FORMAT = /\A([^@\s]+)@((?:[-_a-z0-9]+\.)+[a-z]{2,})\Z/i
3 3 INTEGER_FORMAT = /\A\d*\Z/i
4 4 PROFILE_PER_PAGE = 10
5 5 end
... ...