lib/hanami/extensions/action/slice_configured_action.rb in hanami-2.0.0.beta3 vs lib/hanami/extensions/action/slice_configured_action.rb in hanami-2.0.0.beta4
- old
+ new
@@ -45,10 +45,10 @@
)
end
end
def configure_action(action_class)
- action_class.config.settings.each do |setting|
+ action_class.settings.each do |setting|
# Configure the action from config on the slice, _unless it has already been configured
# by a parent slice_, and re-configuring it for this slice would make no change.
#
# In the case of most slices, its actions config is likely to be the same as its parent
# (since each slice copies its `config` from its parent), and if we re-apply the config