12 lines
244 B
Ruby
12 lines
244 B
Ruby
# frozen_string_literal: true
|
|
|
|
class WowCharactersController < ProtectedController
|
|
def index
|
|
@wow_characters = current_user.wow_characters.all
|
|
end
|
|
|
|
def show
|
|
@wow_character = current_user.wow_characters.find(params[:id])
|
|
end
|
|
end
|