init.rb
# Settings more likely to need to be changed I've put nearer the top.
#
# At some point it would be good to define a full dsl, but I've got other
# things to do...
#
# These methods can be redefined in the block passed to the
# +automatic_resources+ method:
#
# automatic_resources :collection, :category, :item do
#   def finder_method_on_resource(resource)
#     case resource
#     when 'item'
#       'find'
#     else
#       'find_by_param!'
#     end
#   end
# end
#
Settings more likely to need to be changed I've put nearer the top.
At some point it would be good to define a full dsl, but I've got other
things to do

These methods can be redefined in the block passed to the
+automatic_resources+ method.


Settings more likely to need to be changed I ' ve put nearer the top . At some point it would be good to define a full dsl but I ' ve got other things to do These methods can be redefined in the block passed to the + automatic_resources + method .
def has_resource?(resource)
    if resource == self.class.controller_resource
      true
    else
      not resource_finder_param(resource).blank?
    end
  end
def has_resource? ( resource ) if resource == self . class . controller_resource true else not resource_finder_param ( resource ) . blank? end end
Settings more likely to need to be changed I've put nearer the top.
Settings more likely to need to be changed I ' ve put nearer the top .
resource
<not_specific>