lib/apotomo/widget.rb in apotomo-1.2.1 vs lib/apotomo/widget.rb in apotomo-1.2.2

- old
+ new

@@ -33,14 +33,11 @@ # 2. Request data from forms etc. is available through <tt>event.data</tt> in the triggered states. # Use the <tt>#[]</tt> shortcut to access values directly. # # def update(evt) # @cheese = Cheese.find evt[:cheese_id] - class Widget < Cell::Base - - DEFAULT_VIEW_PATHS = [ - File.join('app', 'widgets'), - ] + class Widget < Cell::Rails + DEFAULT_VIEW_PATHS = [File.join('app', 'widgets')] include Hooks # Use this for setup code you're calling in every state. Almost like a +before_filter+ except that it's # invoked after the initialization in #has_widgets.