Sha256: 366e47c2cf35d0abd687936f4d1a19a7fe79d395178ebb316f5316b8a0b985ad

Contents?: true

Size: 171 Bytes

Versions: 22

Compression:

Stored size: 171 Bytes

Contents

module Screengem
  #
  # Exposes the Rails application routes.
  #
  module RailsRoutes
    def routes
      Rails.application.routes if defined?(Rails)
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
screengem-0.8.0 lib/screengem/rails_routes.rb
screengem-0.7.3 lib/screengem/rails_routes.rb