mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Refactor status form #2623
This commit is contained in:
parent
9b9e1a3068
commit
238b3aa5e0
4 changed files with 7 additions and 6 deletions
|
@ -124,7 +124,7 @@ class DomainStatus < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def statuses_for_admin
|
||||
SERVER_STATUSES.map { |x| x.sub('server', '') }
|
||||
SERVER_STATUSES.map { |x| [x.sub('server', ''), x] }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue