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

 Includes the following routes

   GET /schema
   GET /calculate

 For example

   standard_resources :views

 is equivilent to:

   resources :api_keys do
     get :schema, on: :collection
     get :calculate, on: :collection
   end