gauge/app/controllers/conflicts_controller.rb

12 lines
258 B
Ruby
Raw Normal View History

2016-10-12 20:07:57 +03:00
class ConflictsController < ApplicationController
def show
@conflicts_table = ConflictsTable.new conflicts_table_params
end
private
def conflicts_table_params
params.require(:conflicts_table).permit(:talk_id, other_talks_ids: [])
end
end