Skip to content

Commit

Permalink
Fixed typo in index view.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aquaj committed Jun 7, 2017
1 parent 8c9f8df commit 34761ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/backend/financial_years/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- main_toolbar do |t|
= t.new params: { redirect: nil }
- year = FinancialYear.closables.first
= t.close year if year & year.closable?
= t.close year if year && year.closable?
= main_list

0 comments on commit 34761ba

Please sign in to comment.