Sha256: fa8a6317a8371ec972839747d2fa70435fec3bb0585e8fe3bc899ac3c7c63150
Contents?: true
Size: 315 Bytes
Versions: 76
Compression:
Stored size: 315 Bytes
Contents
class Admin::ReferencesController < ApplicationController def show respond_to do |format| render_allowed_type(params[:type]) format.any { render :action => @type, :content_type => "text/html", :layout => false } end end private def render_allowed_type(type) @type = type end end
Version data entries
76 entries across 76 versions & 1 rubygems