Skip to content

Commit

Permalink
Fixed Application -> ApplicationController
Browse files Browse the repository at this point in the history
  • Loading branch information
nakajima committed Feb 8, 2009
1 parent 094d529 commit f71c6bb
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/controllers/admin/posts_controller.rb
@@ -1,4 +1,4 @@
class Admin::PostsController < Application
class Admin::PostsController < ApplicationController
rescue_from ActiveRecord::RecordNotFound, :with => :not_found

before_filter :login_required
Expand Down
@@ -1,7 +1,7 @@
# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.

class Application < ActionController::Base
class ApplicationController < ActionController::Base
include AuthenticatedSystem

protect_from_forgery
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/comments_controller.rb
@@ -1,4 +1,4 @@
class CommentsController < Application
class CommentsController < ApplicationController
before_filter :login_required, :only => [:update, :destroy]
before_filter :get_commentable
# skip_before_filter :verify_authenticity_token, :only => :update
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/feeds_controller.rb
@@ -1,4 +1,4 @@
class FeedsController < Application
class FeedsController < ApplicationController

before_filter :login_required

Expand Down
2 changes: 1 addition & 1 deletion app/controllers/posts_controller.rb
@@ -1,4 +1,4 @@
class PostsController < Application
class PostsController < ApplicationController

# Used by feeds_controller to calculate cache expirations.
@@subtypes = [:articles, :links, :pictures, :quotes, :snippets, :tweets, :gists]
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/sessions_controller.rb
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# This controller handles the login/logout function of the site.
class SessionsController < Application
class SessionsController < ApplicationController

# render new.rhtml
def new
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
@@ -1,4 +1,4 @@
class UsersController < Application
class UsersController < ApplicationController
# render new.rhtml
def new
redirect_to root_path if (User.count >= 1) && !logged_in?
Expand Down

0 comments on commit f71c6bb

Please sign in to comment.