Skip to content

Commit

Permalink
fix hash alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
scambra committed Feb 25, 2015
1 parent f37fd3e commit ffadd1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/active_scaffold/extensions/routing_mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ffadd1b

Please sign in to comment.