Sha256: 450f443f9b905fdba1005d92910a1caff7193de446bbdd84fc360934d190569e
Contents?: true
Size: 536 Bytes
Versions: 8
Compression:
Stored size: 536 Bytes
Contents
class Inkling::ProxyingController < Inkling::BaseController def new content_type = params[:content_type] bits = content_type.split("::") model_name = bits.last @proxy_path = "new_inkling_content_types_#{model_name}_path".downcase redirect_to eval(@proxy_path) end def edit debugger content_type = params[:content_type] bits = content_type.split("::") model_name = bits.last @proxy_path = "new_inkling_content_types_#{model_name}_path".downcase redirect_to eval(@proxy_path) end end
Version data entries
8 entries across 8 versions & 1 rubygems