summaryrefslogtreecommitdiff
path: root/app/controllers/characters/bestiary_controller.rb
blob: 7e37d9cdc88dffc777e900b787533c0c5cc2a95e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class Characters::BestiaryController < ApplicationController
  before_action :set_character

  def index
    @monster_kills = @character.monster_kills.all
  end

  private
    def set_character
      @character = Character.find(params[:character_id])
    end
end