Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Oct 17, 2023
1 parent 4358bc8 commit 57a4827
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,11 @@ gem "active_hash"
# A great debugger.
gem "pry"

# A great debugger.
gem "pry"

# We specify this gem here so that we can get the auto-generated links on headers in the docs
# https://github.com/bullet-train-co/bullet_train-core/pull/468
# Once commonmarker 1.x is no longer a pre-release we'll bump the main `bullet_train` dependency
# and then we can remove this from our Gemfile.
gem 'commonmarker', '~> 1.0.0.pre10'
gem "commonmarker", "~> 1.0.0.pre10"

# YOUR GEMS
# You can add any Ruby gems you need below. By keeping them separate from our gems above, you'll avoid the likelihood
Expand Down
4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
draw "sidekiq"

# TODO Move this into a `draw "heroku"` helper from BT.
constraints(:host => /herokuapp.com/) do
match "/(*path)" => redirect {|params, req| "#{ENV['BASE_URL']}/#{params[:path]}"}, via: [:get, :post]
constraints(host: /herokuapp.com/) do
match "/(*path)" => redirect { |params, req| "#{ENV["BASE_URL"]}/#{params[:path]}" }, :via => [:get, :post]
end

# `collection_actions` is automatically super scaffolded to your routes file when creating certain objects.
Expand Down

0 comments on commit 57a4827

Please sign in to comment.