Class: Pageflow::Theming
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Pageflow::Theming
- Defined in:
- app/models/pageflow/theming.rb
Instance Method Summary collapse
Instance Method Details
#cname_domain ⇒ Object
11 12 13 |
# File 'app/models/pageflow/theming.rb', line 11 def cname_domain cname.split('.').pop(2).join('.') end |
#name ⇒ Object
19 20 21 |
# File 'app/models/pageflow/theming.rb', line 19 def name I18n.t('admin.themings.name', :account_name => account.name, :theme_name => theme_name) end |