Skip to content

Commit

Permalink
Fix linters errors
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulhamiid committed Oct 27, 2022
1 parent cae7859 commit 6b1ca32
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ body {
position: fixed;
top: 10px;
left: 10px;
}
}
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base

before_action :configure_permitted_parameters, if: :devise_controller?

def after_sign_in_path_for(resource)
def after_sign_in_path_for(_resource)
groups_path
end

Expand Down
3 changes: 1 addition & 2 deletions app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class HomeController < ApplicationController
before_action :authenticate_user!, except: [:index]
def index
end
def index; end
end
2 changes: 1 addition & 1 deletion test/controllers/home_controller_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require "test_helper"
require 'test_helper'

class HomeControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
Expand Down

0 comments on commit 6b1ca32

Please sign in to comment.