Sha256: b2ca60a51a26923623332177531ec2bc7ef5b05a78cce9684a30eeb78da4dde0
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
require_dependency "spotlight/application_controller" module Spotlight class DashboardController < Spotlight::ApplicationController before_filter :authenticate_user! load_resource :exhibit, class: Spotlight::Exhibit #TODO authorize user? def index add_breadcrumb @exhibit.title, @exhibit add_breadcrumb t(:'spotlight.curation.sidebar.dashboard'), exhibit_dashboard_path(@exhibit) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-0.0.3 | app/controllers/spotlight/dashboard_controller.rb |