From ffadd1be8c4d9f49748ebf71b2b5f87e10306dda Mon Sep 17 00:00:00 2001 From: Sergio Cambra Date: Wed, 25 Feb 2015 13:00:41 +0100 Subject: [PATCH] fix hash alignment --- lib/active_scaffold/extensions/routing_mapper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/active_scaffold/extensions/routing_mapper.rb b/lib/active_scaffold/extensions/routing_mapper.rb index 1236c6b28e..1a38b878a6 100644 --- a/lib/active_scaffold/extensions/routing_mapper.rb +++ b/lib/active_scaffold/extensions/routing_mapper.rb @@ -2,11 +2,11 @@ module ActionDispatch module Routing ACTIVE_SCAFFOLD_CORE_ROUTING = { :collection => {:show_search => :get, :render_field => :post, :mark => :post}, - :member => {:update_column => :post, :render_field => [:get, :post], :mark => :post} + :member => {:update_column => :post, :render_field => [:get, :post], :mark => :post} } ACTIVE_SCAFFOLD_ASSOCIATION_ROUTING = { :collection => {:edit_associated => :get, :new_existing => :get, :add_existing => :post}, - :member => {:edit_associated => :get, :destroy_existing => :delete} + :member => {:edit_associated => :get, :destroy_existing => :delete} } class Mapper