Class: Viewable::Page

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Admin::Viewable::Page, Viewable, Field::UUID, Field::Url
Defined in:
app/models/viewable/page.rb

Instance Method Summary collapse

Methods included from Field::UUID

#other_uuid, #uuid, #uuid_with

Methods included from Viewable

#list, #other_locales, #unique_key_hash

Instance Method Details

#view_nameObject



8
9
10
# File 'app/models/viewable/page.rb', line 8

def view_name
  @_view_name ||= view_path.split('/').last
end