Sha256: a50186e0c17a5fd29b345d99e43664201fa51aba422c0cd01e8f554014748fe9
Contents?: true
Size: 239 Bytes
Versions: 9
Compression:
Stored size: 239 Bytes
Contents
module EnjuQuestion module Controller extend ActiveSupport::Concern def get_question @question = Question.find(params[:question_id]) if params[:question_id] authorize @question, :show? if @question end end end
Version data entries
9 entries across 9 versions & 1 rubygems