Skip to content

Commit

Permalink
chore: Rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbali committed Mar 5, 2024
1 parent f6949c8 commit 98507bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/lodgings_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def cancel_all
render status: :no_content
end

private
private

def render_lodging(lodging, status)
render_json lodging, serializer: LodgingSerializer, include: included_relationships, status:
Expand Down
2 changes: 2 additions & 0 deletions app/models/lodging.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

class Lodging < ApplicationRecord
include StateMachineable

Expand Down

0 comments on commit 98507bc

Please sign in to comment.