Module: DomainsHelper
- Defined in:
- app/helpers/domains_helper.rb
Instance Method Summary collapse
Instance Method Details
#alias_ejs_object ⇒ Object
9 10 11 12 13 14 |
# File 'app/helpers/domains_helper.rb', line 9 def alias_ejs_object VirtualAlias.new({ :source => "<%= item.source %>".html_safe, :destination => "<%= item.destination %>".html_safe }) end |
#domain_ejs_object ⇒ Object
3 4 5 6 7 |
# File 'app/helpers/domains_helper.rb', line 3 def domain_ejs_object VirtualDomain.new({ :name => "<%= item.name %>".html_safe }) end |
#user_ejs_object ⇒ Object
16 17 18 19 20 21 |
# File 'app/helpers/domains_helper.rb', line 16 def user_ejs_object VirtualUser.new({ :email => "<%= item.email %>".html_safe, :name => "<%= item.name %>".html_safe }) end |