Class: Spree::Pages::Login
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
#preview?
Instance Method Details
#icon_name ⇒ Object
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_url ⇒ Object
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.login_path
end
|