add global reputations page
This commit is contained in:
9
app/controllers/wow_reputations_controller.rb
Normal file
9
app/controllers/wow_reputations_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class WowReputationsController < ProtectedController
|
||||
def index
|
||||
@pagy, @wow_reputations = pagy(WowReputation.non_meta_reputations, items: 20)
|
||||
end
|
||||
|
||||
def show
|
||||
@wow_reputation = WowReputation.find(params[:id])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user