代码搜索:Controller

找到约 10,000 项符合「Controller」的源代码

代码结果 10,000
www.eeworm.com/read/213767/4912394

rb sparklines_controller.rb

# Handles requests for sparkline graphs. # # You shouldn't need to edit or extend this, but you can read # the documentation for SparklinesHelper to see how to call it from # another view. # # AUTHOR
www.eeworm.com/read/213767/4912508

rb base_controller.rb

class Admin::BaseController < ApplicationController cattr_accessor :look_for_migrations @@look_for_migrations = true if Blog.default && Blog.default.editor == 2 uses_tiny_mce( :options
www.eeworm.com/read/213767/4912509

rb resources_controller.rb

class Admin::ResourcesController < Admin::BaseController upload_status_for :file_upload, :status => :upload_status def upload begin case request.method when :post file
www.eeworm.com/read/213767/4912510

rb feedback_controller.rb

require 'comment' require 'trackback' class Admin::FeedbackController < Admin::BaseController def index conditions = ['blog_id = :blog_id', {:blog_id => Blog.default.id}] if params[:searc
www.eeworm.com/read/213767/4912511

rb categories_controller.rb

class Admin::CategoriesController < Admin::BaseController def index list render_action 'list' end def list @categories = Category.find(:all, :order => :position) end def show
www.eeworm.com/read/213767/4912512

rb users_controller.rb

class Admin::UsersController < Admin::BaseController def index list render_action 'list' end def list @users = User.find :all end def show @user = User.find(params[:id], :
www.eeworm.com/read/213767/4912513

rb content_controller.rb

require 'base64' class Admin::ContentController < Admin::BaseController def index list render_action 'list' end def list now = Time.now count = this_blog.articles.count @ar
www.eeworm.com/read/213767/4912514

rb comments_controller.rb

class Admin::CommentsController < Admin::BaseController before_filter :get_article def index list render_action 'list' end def list @comments = @article.comments.find(:all, :ord
www.eeworm.com/read/213767/4912515

rb cache_controller.rb

class Admin::CacheController < Admin::BaseController def index list render_action 'list' end def list @page_cache_size = PageCache.count end def sweep PageCache.sweep_all
www.eeworm.com/read/213767/4912516

rb general_controller.rb

class Admin::GeneralController < Admin::BaseController # Deprecation warning for plugins removal before_filter :deprecation_warning def index if this_blog.base_url.blank? this_blog.