Skip to content

Commit

Permalink
ensure app controller loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
kristianmandrup committed Aug 6, 2012
1 parent f54e134 commit d97e5fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/focused_controller.rb
Expand Up @@ -2,4 +2,5 @@
require 'focused_controller/route'
require 'focused_controller/mixin'
require 'focused_controller/route_mapper'
require 'focused_controller/focused_action'

require 'focused_controller/focused_action' if defined?(ApplicationController)
1 change: 1 addition & 0 deletions lib/focused_controller/focused_action.rb
@@ -1,3 +1,4 @@
class FocusedAction < ApplicationController
include FocusedController::Mixin
end

0 comments on commit d97e5fe

Please sign in to comment.