Revision cc6d0d73
Added by David Davis almost 7 years ago
app/models/foreman_docker/docker.rb | ||
---|---|---|
2 | 2 |
|
3 | 3 |
module ForemanDocker |
4 | 4 |
class Docker < ::ComputeResource |
5 |
attr_accessible :email |
|
6 |
|
|
7 | 5 |
validates :url, :format => { :with => URI.regexp } |
8 | 6 |
validates :email, :format => { :with => /.+@.+\..+/i }, :allow_blank => true |
9 | 7 |
|
Also available in: Unified diff
Fixes #15888 - Remove attr_accessible calls