Sha256: e64f3141de29fd615c1e460a175490c7688dbb88913e13200e1d8802178ee1cf
Contents?: true
Size: 294 Bytes
Versions: 12
Compression:
Stored size: 294 Bytes
Contents
class Detour::ApplicationController < ActionController::Base def index end private def ensure_flaggable_type_exists unless Detour.config.flaggable_types.map(&:tableize).include? params[:flaggable_type] raise ActionController::RoutingError.new("Not Found") end end end
Version data entries
12 entries across 12 versions & 1 rubygems