Skip to content

Commit

Permalink
Fix incorrect ivar name for street address route
Browse files Browse the repository at this point in the history
  • Loading branch information
AI-Mozi authored and postmodern committed May 17, 2024
1 parent 4e143f5 commit 9be8802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -543,9 +543,9 @@ class App < Sinatra::Base
end

get '/db/street_addresses/:id' do
@phone_number = Ronin::DB::StreetAddress.find(params[:id])
@street_address = Ronin::DB::StreetAddress.find(params[:id])

if @phone_number
if @street_address
erb :"db/street_addresses/show"
else
halt 404
Expand Down

0 comments on commit 9be8802

Please sign in to comment.