Report generation. Download csv
This commit is contained in:
20
app/controllers/admin/debates_controller.rb
Normal file
20
app/controllers/admin/debates_controller.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
class Admin::DebatesController < Admin::BaseController
|
||||
include FeatureFlags
|
||||
include CommentableActions
|
||||
include HasOrders
|
||||
|
||||
feature_flag :debates
|
||||
|
||||
has_orders %w[created_at]
|
||||
|
||||
def show
|
||||
@debate = Debate.find(params[:id])
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def resource_model
|
||||
Debate
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user