Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

aliased .cell_name with .controller_path.

  • Loading branch information...
commit d2b79395313f22c8b261cab40e3fe7bcdb11c12e 1 parent 1d8f969
Nick Sutterer authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/cell.rb
5 lib/cell.rb
View
@@ -83,9 +83,8 @@ def find_class_view_for_state(state)
superclass.find_class_view_for_state(state) << view_for_state(state)
end
- # The cell name, underscored with +_cell+ removed.
- def cell_name
- name.underscore.sub(/_cell$/, '')
+ def cell_name # TODO: remove in 3.6.
+ controller_path
end
# The cell class constant for +cell_name+.
Please sign in to comment.
Something went wrong with that request. Please try again.