diff --git a/app/controllers/campaigns_controller.rb b/app/controllers/campaigns_controller.rb index 573f6b5fa..d0c0039c8 100644 --- a/app/controllers/campaigns_controller.rb +++ b/app/controllers/campaigns_controller.rb @@ -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 diff --git a/app/views/cards/create.json.jbuilder b/app/views/cards/create.json.jbuilder index d533456e0..bd81b89a2 100644 --- a/app/views/cards/create.json.jbuilder +++ b/app/views/cards/create.json.jbuilder @@ -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 diff --git a/app/views/nonprofits/donations/create.json.jbuilder b/app/views/nonprofits/donations/create.json.jbuilder index bdae49e83..38793eb24 100644 --- a/app/views/nonprofits/donations/create.json.jbuilder +++ b/app/views/nonprofits/donations/create.json.jbuilder @@ -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 diff --git a/app/views/nonprofits/supporters/create.json.jbuilder b/app/views/nonprofits/supporters/create.json.jbuilder index 1c43e03e6..679884d21 100644 --- a/app/views/nonprofits/supporters/create.json.jbuilder +++ b/app/views/nonprofits/supporters/create.json.jbuilder @@ -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