Skip to content

Commit

Permalink
update sow controller to return the sows by latest
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiomagalhaes committed Mar 8, 2024
1 parent 962cc1a commit 55e4fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/statement_of_works_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class StatementOfWorksController < ApplicationController
before_action :set_statement_of_work, only: %i[show update destroy]

def index
@statement_of_works = @project.statement_of_works.order(:start_date)
@statement_of_works = @project.statement_of_works.order(:start_date).reverse
end

def show; end
Expand Down

0 comments on commit 55e4fb1

Please sign in to comment.