Sha256: 3aaaeafd21c30f258ade1130a5ec44532e0fdde1083de16e5bf2bc1757021ba0

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

module ActionDispatch::Routing
  class RouteSet #:nodoc:
    Mapper.class_eval do
      def bushido_routes
        puts "ADDING THE MOTHERFUCKING ROUTES"

        Rails.application.routes.draw do
          namespace 'bushido' do
            resources :envs, :only => [ :update ]
            match '/data' => "data#index"
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bushido-0.0.30 lib/rails/#routes.rb#