Class: Spree::Pages::Login

Inherits:
Spree::Page show all
Defined in:
app/models/spree/pages/login.rb

Instance Method Summary collapse

Methods inherited from Spree::Page

#create_preview, #custom?, #customizable?, #default_sections, #display_name, #duplicate, #layout_sections?, #preview_url, #promote, #store, #theme

Methods included from Spree::Previewable

#preview?

Instance Method Details

#icon_nameObject



4
5
6
# File 'app/models/spree/pages/login.rb', line 4

def icon_name
  'key'
end

#linkable?Boolean



14
15
16
# File 'app/models/spree/pages/login.rb', line 14

def linkable?
  true
end

#page_builder_urlObject



8
9
10
11
12
# File 'app/models/spree/pages/login.rb', line 8

def page_builder_url
  return unless page_builder_url_exists?(:login_path)

  Spree::Core::Engine.routes.url_helpers.
end