Skip to content

Commit

Permalink
Run rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
wwahammy committed Apr 1, 2022
1 parent 32a9f9e commit aa73ce6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/campaigns_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def peer_to_peer # rubocop:disable Metrics/AbcSize
private

def check_nonprofit_status
# raise ActionController::RoutingError, 'Not Found' if !current_role?(:super_admin) && !current_nonprofit.published
# raise ActionController::RoutingError, 'Not Found' if !current_role?(:super_admin) && !current_nonprofit.published
end

def campaign_params # rubocop:disable Metrics/MethodLength
Expand Down
2 changes: 2 additions & 0 deletions app/views/cards/create.json.jbuilder
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/main/LICENSE

Expand Down
2 changes: 2 additions & 0 deletions app/views/nonprofits/donations/create.json.jbuilder
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/main/LICENSE

Expand Down
2 changes: 2 additions & 0 deletions app/views/nonprofits/supporters/create.json.jbuilder
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/main/LICENSE

Expand Down

0 comments on commit aa73ce6

Please sign in to comment.