Sha256: 6c9bcabe946fb391a8584286dacf6dc073a5041609c0c5fe8b9ce163da29f31d
Contents?: true
Size: 365 Bytes
Versions: 5
Compression:
Stored size: 365 Bytes
Contents
- view ||= controller.controller_name - action ||= controller.action_name - sidebar = "#{view}/sidebar_#{action}" unless action.to_s == 'show' - sidebar = "admin/#{sidebar}" if controller.class.to_s.starts_with?("Admin::") = content_for :sidebar - begin = render sidebar if sidebar - rescue MissingTemplate = render "lists/lists" = render "shared/recently"
Version data entries
5 entries across 5 versions & 1 rubygems