Scaffold controller and route

This commit is contained in:
Maximilian Grundke
2018-03-13 16:23:49 +01:00
parent 84bd85703d
commit 7031dd389e
8 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,11 @@
class StatisticsController < ApplicationController
def policy_class
StatisticsPolicy
end
def show
authorize self
end
end