Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
reesericci committed Jan 24, 2024
1 parent 0b40b82 commit dac7cdc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/controllers/api/v1/api_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Api::V1::ApiController < ActionController::Base
class Api::V1::ApiController < ActionController::Base #standard:disable all
skip_before_action :verify_authenticity_token

before_action :not_provisional
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/api/v1/domains_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class Api::V1::DomainsController < Api::V1::ApiController
before_action only: [:create, :destroy] do
doorkeeper_authorize! :domains_write
end

skip_before_action :authorize_domain, only: [:index, :create]

def index
Expand Down
1 change: 0 additions & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@

config.enable_reloading = true


config.hosts << "oblong.test"
config.hosts << "oblong.underpass.clb.li"

Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20240118051026_create_doorkeeper_tables.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

# standard:disable all
class CreateDoorkeeperTables < ActiveRecord::Migration[7.1]
def change
create_table :oauth_applications do |t|
Expand Down

0 comments on commit dac7cdc

Please sign in to comment.