more polish

pull/3480/head
Markus Kahl 9 years ago
parent 2ce62e3999
commit 738f385cb1
  1. 3
      app/controllers/members_controller.rb
  2. 1
      config/locales/en.yml

@ -199,7 +199,6 @@ class MembersController < ApplicationController
user = UserInvitation.invite_new_user(email: id) ||
User.find_by_mail(id)
user.id if user
else
id
@ -220,7 +219,7 @@ class MembersController < ApplicationController
def transform_array_of_comma_seperated_ids(array)
return array unless array.present?
each_comma_seperated(array) do |elem|
elem.to_s.split(',').map(&:to_i)
elem.to_s.split(',')
end
end

@ -1519,6 +1519,7 @@ en:
status_active: "active"
status_invited: invited
status_registered: registered
# Used in array.to_sentence.
support:

Loading…
Cancel
Save