Skip to content

Commit

Permalink
fixup extra method defintion
Browse files Browse the repository at this point in the history
  • Loading branch information
fiveNinePlusR committed Jan 29, 2025
1 parent 4891ddd commit a7623d8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/controllers/pages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,18 +130,6 @@ def recent_activity
end
end

def recent_activity
set_activities
case request.request_method
when "GET"
render "pages/activity"
when "POST"
render partial: "pages/render_activity", object: @recent_activity
else
p "unknown request_method: #{request.request_method}"
end
end

def contact
redirect_to about_path
end
Expand Down

0 comments on commit a7623d8

Please sign in to comment.