Sha256: 1f9a9277815412af7d87b650a4e838ac2de186fd1ce35e8d442ace8ec7f79c68
Contents?: true
Size: 456 Bytes
Versions: 3
Compression:
Stored size: 456 Bytes
Contents
class AdminData::FeedController < AdminData::BaseController unloadable before_filter :ensure_is_allowed_to_view_feed def index render :text => "usage: http://localhost:3000/admin_data/feed/user" and return if params[:klasss].blank? begin @klass = AdminData::Util.camelize_constantize(params[:klasss]) rescue NameError => e render :text => "No constant was found with name #{params[:klasss]}" and return end end end
Version data entries
3 entries across 3 versions & 1 rubygems