lib/puffer/base.rb in puffer-0.0.15 vs lib/puffer/base.rb in puffer-0.0.16
- old
+ new
@@ -1,15 +1,10 @@
module Puffer
class Base < ApplicationController
unloadable
- include Puffer::Controller::Mutate
- include Puffer::Controller::Helpers
- include Puffer::Controller::Dsl
- include Puffer::Controller::Mapping
- include Puffer::Controller::Config
- include Puffer::Controller::Generated
-
+ pufferize!
+ view_paths_fallbacks :puffer
define_fields :index, :show, :form, :create, :update
respond_to :html, :js
def index