Sha256: 6fdc2026c289a2eb56410fa9b6a99bf3b36f7bc2eb765edcf03bf575692cf41a

Contents?: true

Size: 228 Bytes

Versions: 4

Compression:

Stored size: 228 Bytes

Contents

module Roboto
  #convenience methods for Rails routing
  module Routing
    # convenience function for mounting the roboto rails engine to root
    def mount_roboto
      mount Roboto::Engine => "/robots.txt"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
roboto-1.0.1 lib/roboto/routing.rb
roboto-1.0.0 lib/roboto/routing.rb
roboto-0.2.0 lib/roboto/routing.rb
roboto-0.1.0 lib/roboto/routing.rb