98755844a1
* Bind sessions to identities * Remove references to the identity token * Move email changes to identity * Move account menu into a turbo-frame * Create tenants from a tenanted route
20 lines
491 B
Ruby
20 lines
491 B
Ruby
class Public::Collections::ColumnsController < ApplicationController
|
|
include ActionView::RecordIdentifier, CachedPublicly, PublicCollectionScoped
|
|
|
|
allow_unauthenticated_access only: :show
|
|
allow_unauthorized_access only: :show
|
|
|
|
layout "public"
|
|
|
|
before_action :set_column, only: :show
|
|
|
|
def show
|
|
set_page_and_extract_portion_from @column.cards.active.latest.with_golden_first
|
|
end
|
|
|
|
private
|
|
def set_column
|
|
@column = @collection.columns.find(params[:id])
|
|
end
|
|
end
|