Sha256: 1bef7ca3a72ca206eab7302b8011dd5e1fcfaa8b4d944b580ac1b2d344771991

Contents?: true

Size: 301 Bytes

Versions: 34

Compression:

Stored size: 301 Bytes

Contents

class Backend::Pages::BaseController < Backend::BaseController
  before_action :find_page
  before_action do
    breadcrumb.add t('b.pages'), backend_pages_path
    breadcrumb.add @page.description, edit_backend_page_path(@page)
  end

  def find_page
    @page = Page.find params[:page_id]
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
udongo-7.2.0 app/controllers/backend/pages/base_controller.rb
udongo-7.1.3 app/controllers/backend/pages/base_controller.rb
udongo-7.1.2 app/controllers/backend/pages/base_controller.rb
udongo-7.1.1 app/controllers/backend/pages/base_controller.rb
udongo-7.1.0 app/controllers/backend/pages/base_controller.rb
udongo-7.0.4 app/controllers/backend/pages/base_controller.rb
udongo-7.0.3 app/controllers/backend/pages/base_controller.rb
udongo-7.0.2 app/controllers/backend/pages/base_controller.rb
udongo-7.0.1 app/controllers/backend/pages/base_controller.rb
udongo-7.0.0 app/controllers/backend/pages/base_controller.rb
udongo-6.6.3 app/controllers/backend/pages/base_controller.rb
udongo-6.6.2 app/controllers/backend/pages/base_controller.rb
udongo-6.6.1 app/controllers/backend/pages/base_controller.rb
udongo-6.6.0 app/controllers/backend/pages/base_controller.rb