start on card editing

This commit is contained in:
2022-11-30 11:22:45 +02:00
parent 5ade5c6c19
commit 277d4dce36
26 changed files with 187 additions and 19 deletions

View File

@ -0,0 +1,17 @@
module Merged
class CardsController < MergedController
before_action :set_page
def index
end
private
def set_page
@page = Page.find(params[:page_id])
section_id = params[:id] || params[:section_id]
@section = @page.find_section( section_id )
end
end
end