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.21.2 lib/screengem/rails_routes.rb
screengem-0.21.1 lib/screengem/rails_routes.rb
screengem-0.21.0 lib/screengem/rails_routes.rb
screengem-0.20.1 lib/screengem/rails_routes.rb
screengem-0.20.0 lib/screengem/rails_routes.rb
screengem-0.19.0 lib/screengem/rails_routes.rb
screengem-0.18.1 lib/screengem/rails_routes.rb
screengem-0.18.0 lib/screengem/rails_routes.rb
screengem-0.17.0 lib/screengem/rails_routes.rb
screengem-0.16.0 lib/screengem/rails_routes.rb
screengem-0.15.0 lib/screengem/rails_routes.rb
screengem-0.14.0 lib/screengem/rails_routes.rb
screengem-0.13.0 lib/screengem/rails_routes.rb
screengem-0.12.0 lib/screengem/rails_routes.rb
screengem-0.11.0 lib/screengem/rails_routes.rb
screengem-0.10.1 lib/screengem/rails_routes.rb
screengem-0.10.0 lib/screengem/rails_routes.rb
screengem-0.9.1 lib/screengem/rails_routes.rb
screengem-0.9.0 lib/screengem/rails_routes.rb
screengem-0.8.1 lib/screengem/rails_routes.rb