Sha256: 0fee1590113eddf7090cdfe386d40806476f62ad959602d6b7271ef698cb086d

Contents?: true

Size: 313 Bytes

Versions: 7

Compression:

Stored size: 313 Bytes

Contents

module Outpost
  class ResourceController < Outpost::BaseController
    before_filter :extend_breadcrumbs_with_resource_root
    respond_to :html, :json, :js

    #-----------------

    def extend_breadcrumbs_with_resource_root
      breadcrumb model.to_title.pluralize, model.admin_index_path
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
outpost-cms-0.1.4 app/controllers/outpost/resource_controller.rb
outpost-cms-0.1.3 app/controllers/outpost/resource_controller.rb
outpost-cms-0.1.2 app/controllers/outpost/resource_controller.rb
outpost-cms-0.1.1 app/controllers/outpost/resource_controller.rb
outpost-cms-0.1.0 app/controllers/outpost/resource_controller.rb
outpost-cms-0.0.5 app/controllers/outpost/resource_controller.rb
outpost-cms-0.0.4 app/controllers/outpost/resource_controller.rb