summaryrefslogtreecommitdiff
path: root/app/controllers/changelogs_controller.rb
blob: 6ade205b1ed9d14d294b7e52f58d6f8b9c3920c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class ChangelogsController < ApplicationController
  skip_authorization_check

  def show
    @title   = 'Changelog'
    @changes = ChangelogPresenter.new

    respond_to do |format|
      format.html
      format.json { render json: @changes.as_json }
    end
  end
end