aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/sections_controller.rb
blob: fed1d575c52c5a957dada5439cdd44d7aaa06e10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

class SectionsController < ApplicationController
  skip_before_action :verify_authenticity_token, only: :show

  def show
    @section = Section.find(params[:id])
    respond_to do |format|
      format.html
      format.js
      format.json
    end
  end
end