gauge/app/controllers/summaries_controller.rb

12 lines
202 B
Ruby
Raw Permalink Normal View History

2016-10-10 21:28:23 +03:00
class SummariesController < ApplicationController
def show
@summary = Summary.new summary_params
end
private
def summary_params
params.require(:summary).permit(talk_ids: [])
end
end