Navigation Menu

Skip to content

Commit

Permalink
Register Cells hook in init.rb instead of having a separate controlle…
Browse files Browse the repository at this point in the history
…r file.
  • Loading branch information
clemens committed May 27, 2009
1 parent 500e30c commit 16168e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/adva_cells/app/controllers/base_controller.rb

This file was deleted.

2 changes: 2 additions & 0 deletions plugins/adva_cells/init.rb
@@ -1,4 +1,6 @@
config.to_prepare do
BaseController.around_filter(OutputFilter::Cells.new)

# FIXME this really should go somewhere else ... why did we put it here in the first place?
class Cell::Base
class_inheritable_accessor :states
Expand Down

0 comments on commit 16168e4

Please sign in to comment.