Sha256: faad7ff68128609f171a28fc9e0866a04a186ef984f5281d73b8f7d44fd5e7b3

Contents?: true

Size: 327 Bytes

Versions: 5

Compression:

Stored size: 327 Bytes

Contents

- view   ||= controller.controller_name
- action ||= controller.action_name
- sidebar = "#{view}/sidebar_#{action}"
- sidebar = "admin/#{sidebar}" if controller.class.to_s.starts_with?("Admin::")

= content_for :sidebar
- begin
  = render sidebar
  - rescue MissingTemplate

= render "lists/sidebar"
= render "shared/recently"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.12.3 app/views/layouts/_sidebar.html.haml
fat_free_crm-0.12.2 app/views/layouts/_sidebar.html.haml
fat_free_crm-0.12.1 app/views/layouts/_sidebar.html.haml
fat_free_crm-0.12.0 app/views/layouts/_sidebar.html.haml
fat_free_crm-0.11.4 app/views/layouts/_sidebar.html.haml