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
8 9 10 |
# File 'app/models/pageflow/theming.rb', line 8 def cname_domain cname.split('.').pop(2).join('.') end |
#name ⇒ Object
16 17 18 |
# File 'app/models/pageflow/theming.rb', line 16 def name I18n.t('admin.themings.name', :account_name => account.name, :theme_name => theme_name) end |