lib/puffer/base.rb in puffer-0.0.12 vs lib/puffer/base.rb in puffer-0.0.13
- old
+ new
@@ -3,11 +3,14 @@
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
+
+ define_fields :index, :show, :form, :create, :update
respond_to :html, :js
def index
@records = resource.collection