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