lib/generators/trestle/install/templates/trestle.rb.erb in trestle-0.8.3 vs lib/generators/trestle/install/templates/trestle.rb.erb in trestle-0.8.4
- old
+ new
@@ -68,11 +68,11 @@
# end
#
# config.around_action do |controller, block|
# Rails.logger.debug("Around action (before)")
# block.call
- # Rails.logger.debug("Around ation (after)")
+ # Rails.logger.debug("Around action (after)")
# end
# Specify a custom hook to be injected into the admin.
#
# config.hook(:stylesheets) do
@@ -91,10 +91,11 @@
# Customize the default adapter class used by all admin resources.
# See the documentation on Trestle::Adapters::Adapter for details on
# the adapter methods that can be customized.
#
- # config.default_adapter.extend MyAdapterExtensions
+ # config.default_adapter = Trestle::Adapters.compose(Trestle::Adapters::SequelAdapter)
+ # config.default_adapter.include MyAdapterExtensions
# Register a form field type to be made available to the Trestle form builder.
# Field types should conform to the following method definition:
#
# class CustomFormField