Sha256: cfaeac2d4d5779efd370f76bd368417865fe1efd3696cae6f5d18804c048d36e
Contents?: true
Size: 325 Bytes
Versions: 27
Compression:
Stored size: 325 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/lists" = render "shared/recently"
Version data entries
27 entries across 27 versions & 2 rubygems