mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 06:25:19 +02:00
Fix remaining rubocop offenses
- Fix string literal style in doorkeeper.rb - Add missing final newlines - Remove trailing whitespace - Fix array bracket spacing in migrations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
8296e10246
commit
7aca5a2277
7 changed files with 10 additions and 10 deletions
|
@ -313,7 +313,7 @@ Doorkeeper.configure do
|
|||
# for example.
|
||||
#
|
||||
# Block javascript URIs but allow custom schemes
|
||||
forbid_redirect_uri { |uri| uri.scheme.to_s.downcase == 'javascript' }
|
||||
forbid_redirect_uri { |uri| uri.scheme.to_s.downcase == "javascript" }
|
||||
|
||||
# Allows to set blank redirect URIs for Applications in case Doorkeeper configured
|
||||
# to use URI-less OAuth grant flows like Client Credentials or Resource Owner
|
||||
|
|
|
@ -3,4 +3,4 @@ Rails.application.config.to_prepare do
|
|||
Doorkeeper::AuthorizationsController.layout "doorkeeper/application"
|
||||
Doorkeeper::AuthorizedApplicationsController.layout "doorkeeper/application"
|
||||
Doorkeeper::ApplicationsController.layout "doorkeeper/application"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -189,7 +189,7 @@ Rails.application.routes.draw do
|
|||
post "auth/signup", to: "auth#signup"
|
||||
post "auth/login", to: "auth#login"
|
||||
post "auth/refresh", to: "auth#refresh"
|
||||
|
||||
|
||||
# Production API endpoints
|
||||
resources :accounts, only: [ :index ]
|
||||
resources :transactions, only: [ :index, :show, :create, :update, :destroy ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue