Skip to content

Commit

Permalink
style: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
al3rez committed Jan 10, 2024
1 parent abb2035 commit fe44edb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/controllers/assistants_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class AssistantsController < ApplicationController
skip_before_action :authenticate_user!
before_action :set_assistant, only: %i[show edit update destroy]
before_action :set_assistant, only: [:show, :edit, :update, :destroy]

def index
@assistants = Assistant.all
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/conversations_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class ConversationsController < ApplicationController
skip_before_action :authenticate_user!
before_action :set_conversation, only: %i[show edit update destroy]
before_action :set_conversation, only: [:show, :edit, :update, :destroy]

def index
@conversations = Conversation.all
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/documents_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class DocumentsController < ApplicationController
skip_before_action :authenticate_user!
before_action :set_document, only: %i[show edit update destroy]
before_action :set_document, only: [:show, :edit, :update, :destroy]

def index
@documents = Document.all
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/messages_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class MessagesController < ApplicationController
skip_before_action :authenticate_user!
before_action :set_message, only: %i[show edit update destroy]
before_action :set_message, only: [:show, :edit, :update, :destroy]

def index
@messages = Message.all
Expand Down

0 comments on commit fe44edb

Please sign in to comment.