Skip to content

Commit 5692250

Browse files
committed
rubocop fixes
1 parent 33c5636 commit 5692250

File tree

174 files changed

+328
-220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+328
-220
lines changed

app/concerns/better_together/categorizable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
module BetterTogether
4-
module Categorizable
4+
module Categorizable # rubocop:todo Style/Documentation
55
extend ::ActiveSupport::Concern
66

77
included do

app/concerns/better_together/geography/location.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module BetterTogether
44
module Geography
5-
module Location
5+
module Location # rubocop:todo Style/Documentation
66
extend ActiveSupport::Concern
77

88
included do

app/concerns/better_together/primary_community.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
module BetterTogether
4-
module PrimaryCommunity
4+
module PrimaryCommunity # rubocop:todo Style/Documentation
55
extend ActiveSupport::Concern
66

77
included do

app/controllers/better_together/categories_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
module BetterTogether
4-
class CategoriesController < FriendlyResourceController
4+
class CategoriesController < FriendlyResourceController # rubocop:todo Style/Documentation
55
before_action :set_model_instance, only: %i[show edit update destroy]
66
before_action :authorize_category, only: %i[show edit update destroy]
77
after_action :verify_authorized, except: :index

app/controllers/better_together/communities_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
module BetterTogether
4-
class CommunitiesController < FriendlyResourceController
4+
class CommunitiesController < FriendlyResourceController # rubocop:todo Style/Documentation
55
before_action :set_model_instance, only: %i[show edit update destroy]
66
before_action :authorize_community, only: %i[show edit update destroy]
77
after_action :verify_authorized, except: :index

app/controllers/better_together/geography/continents_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module BetterTogether
44
module Geography
5-
class ContinentsController < ApplicationController
5+
class ContinentsController < ApplicationController # rubocop:todo Style/Documentation
66
before_action :set_geography_continent, only: %i[show edit update destroy]
77

88
# GET /geography/continents

app/controllers/better_together/geography/countries_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module BetterTogether
44
module Geography
5-
class CountriesController < FriendlyResourceController
5+
class CountriesController < FriendlyResourceController # rubocop:todo Style/Documentation
66
before_action :set_geography_country, only: %i[show edit update destroy]
77
before_action :authorize_geography_country, only: %i[show edit update destroy]
88
after_action :verify_authorized, except: :index

app/controllers/better_together/geography/region_settlements_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module BetterTogether
44
module Geography
5-
class RegionSettlementsController < ApplicationController
5+
class RegionSettlementsController < ApplicationController # rubocop:todo Style/Documentation
66
before_action :set_geography_region_settlement, only: %i[show edit update destroy]
77

88
# GET /geography/region_settlements

app/controllers/better_together/geography/regions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module BetterTogether
44
module Geography
5-
class RegionsController < FriendlyResourceController
5+
class RegionsController < FriendlyResourceController # rubocop:todo Style/Documentation
66
before_action :set_geography_region, only: %i[show edit update destroy]
77
before_action :authorize_geography_region, only: %i[show edit update destroy]
88
after_action :verify_authorized, except: :index

app/controllers/better_together/geography/settlements_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module BetterTogether
44
module Geography
5-
class SettlementsController < FriendlyResourceController
5+
class SettlementsController < FriendlyResourceController # rubocop:todo Style/Documentation
66
before_action :set_geography_settlement, only: %i[show edit update destroy]
77
before_action :authorize_geography_settlement, only: %i[show edit update destroy]
88
after_action :verify_authorized, except: :index

0 commit comments

Comments
 (0)