Method: Oversee::Dashboard::Header#initialize
- Defined in:
- app/components/oversee/dashboard/header.rb
#initialize(title: nil, subtitle: nil, return_path: nil, show_back_button: true) ⇒ Header
Returns a new instance of Header.
7 8 9 10 11 12 |
# File 'app/components/oversee/dashboard/header.rb', line 7 def initialize(title: nil, subtitle: nil, return_path: nil, show_back_button: true) @title = title || "Dashboard" @subtitle = subtitle || "Manage your account" @return_path = return_path @show_back_button = end |