def standard_resource(*resource, &block)
      options = resource.extract_options!.dup
      
      resource(*resource, options) do
        get :schema, on: :collection
        get :calculate, on: :collection
        block.call if block
      end
    end
def standard_resource(*resource, &block)
      options = resource.extract_options!.dup
      
      resource(*resource, options) do
        get :schema, on: :collection
        get :calculate, on: :collection
        block.call if block
      end
    end
StandardAPI wrapper for ActionDispatch::Routing::Mapper::Resources#resource

 Includes the following routes

   GET /schema
   GET /calculate

 For example:

   standard_resource :account

 is equivilent to:

   resource :account do
     get :schema, on: :collection
     get :calculate, on: :collection
   end