Skip to content

Commit 78d4bb8

Browse files
committed
Fix typo.
1 parent 1484958 commit 78d4bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sample_app.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def home
99
end
1010
end
1111

12-
class PotsController < ActionController::API
12+
class BotsController < ActionController::API
1313
def index
1414
render json: {
1515
isBot: browser.bot?,
@@ -42,7 +42,7 @@ class SampleApp < Rails::Application
4242

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

45-
get "/api/pages", to: "pots#index"
45+
get "/api/pages", to: "bots#index"
4646
end
4747

4848
config.middleware.use Browser::Middleware do

0 commit comments

Comments
 (0)