Sha256: c38d0b570e81048f969c9a7d18bfa7e06f62cbdbb211e0949731692698f63781
Contents?: true
Size: 753 Bytes
Versions: 4
Compression:
Stored size: 753 Bytes
Contents
Attractor::Rails::Engine.routes.draw do get "/", to: "reporter#index" get "/suggestions", to: "reporter#suggestions" get "/values", to: "reporter#values" get "/file_prefix", to: "reporter#file_prefix" get "/stylesheets/main.css", to: ->(env) { [200, {}, [File.open("#{Bundler.rubygems.find_name("attractor").first.full_gem_path}/app/assets/stylesheets/main.css").read]] } get "/javascripts/index.pack.js", to: ->(env) { [200, {}, [File.open("#{Bundler.rubygems.find_name("attractor").first.full_gem_path}/app/assets/javascripts/index.pack.js").read]] } get "/images/attractor_logo.svg", to: ->(env) { [200, {}, [File.open("#{Bundler.rubygems.find_name("attractor").first.full_gem_path}/app/assets/images/attractor_logo.svg").read]] } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
attractor-rails-0.2.0 | config/routes.rb |
attractor-rails-0.1.2 | config/routes.rb |
attractor-rails-0.1.1 | config/routes.rb |
attractor-rails-0.1.0 | config/routes.rb |