Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
kasugaijin committed Dec 15, 2024
2 parents 37a4220 + e89cad3 commit 6f6d250
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ env:
# Aliases are triggered with "bin/kamal <alias>". You can overwrite arguments on invocation:
# "bin/kamal logs -r job" will tail logs from the first server in the job section.
#
# aliases:
# shell: app exec --interactive --reuse "bash"
aliases:
shell: app exec --interactive --reuse "bash"
logs: app exec -i --reuse "tail -f log/production.log"
console: app exec -i --reuse "bin/rails console"

# Use a different ssh user than root
#
Expand Down
4 changes: 4 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

# Organization Scope
scope module: :organizations do

# Public Routes
resources :home, only: [:index]
resources :adoptable_pets, only: %i[index show]
Expand Down Expand Up @@ -95,6 +96,9 @@
end
end

delete "staff/attachments/:id/purge", to: "attachments#purge", as: "staff_purge_attachment"
delete "attachments/:id/purge_avatar", to: "attachments#purge_avatar", as: "purge_avatar"

# Adopter and Fosterer Routes
namespace :adopter_fosterer do
resources :faq, only: [:index]
Expand Down

0 comments on commit 6f6d250

Please sign in to comment.