lib/active_scaffold/config/nested.rb in active_scaffold-sequel-0.3.0 vs lib/active_scaffold/config/nested.rb in active_scaffold-sequel-0.4.0

- old
+ new

@@ -24,17 +24,10 @@ unless column.nil? || column.association.nil? options.reverse_merge! :security_method => :nested_authorized?, :label => column.association.associated_class.model_name.human({:count => 2, :default => column.association.associated_class.name.pluralize}) action_link = @core.link_for_association(column, options) action_link.action ||= :index @core.action_links.add_to_group(action_link, action_group) unless action_link.nil? - else - end - end - - def add_scoped_link(named_scope, options = {}) - action_link = @core.link_for_association_as_scope(named_scope.to_sym, options) - @core.action_links.add_to_group(action_link, action_group) unless action_link.nil? end # the label for this Nested action. used for the header. attr_writer :label end