12 lines
404 B
Ruby
12 lines
404 B
Ruby
# frozen_string_literal: true
|
|
|
|
class WowCharactersController < ProtectedController
|
|
def index
|
|
@wow_characters = current_user.wow_characters.includes(:wow_realm, :wow_race, :wow_class, :wow_character_medium)
|
|
end
|
|
|
|
def show
|
|
@wow_character = current_user.wow_characters.includes(wow_standings: { wow_reputation: { wow_reputation_tier: :wow_reputation_tier_levels }}).find(params[:id])
|
|
end
|
|
end
|