Sha256: 9f5802f1f389be472416adfca7b7baad21f0a51c879a8515c4d985ef8b0ce890
Contents?: true
Size: 511 Bytes
Versions: 21
Compression:
Stored size: 511 Bytes
Contents
class TextfilterController < ApplicationController def public_action filter = params[:filter] action = params[:public_action] plugin = TextFilter.filters_map[filter] if(plugin and plugin.plugin_public_actions.include? action.to_sym) render_component(:controller => "plugins/textfilters/#{params[:filter]}", :action => params[:public_action], :params => params) else render :text => '', :status => 404 end end def test_action render :text => '' end end
Version data entries
21 entries across 21 versions & 1 rubygems