Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Apr 30, 2024
1 parent 1484958 commit 78d4bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sample_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def home
end
end

class PotsController < ActionController::API
class BotsController < ActionController::API
def index
render json: {
isBot: browser.bot?,
Expand Down Expand Up @@ -42,7 +42,7 @@ class SampleApp < Rails::Application

get "/home", to: "pages#home"

get "/api/pages", to: "pots#index"
get "/api/pages", to: "bots#index"
end

config.middleware.use Browser::Middleware do
Expand Down

0 comments on commit 78d4bb8

Please sign in to comment.