Default sort on tax_reference.

This commit is contained in:
dlage committed 2020-09-10 17:46:49 +01:00
1 parent 2f2f78776b
commit 184424bc23
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
class TaxReference < ApplicationRecord class TaxReference < ApplicationRecord
default_scope { order(year: :desc) }
validates :year, uniqueness: true validates :year, uniqueness: true
MAX_MONTHLY_HOURS = 172 MAX_MONTHLY_HOURS = 172
+1 -1
View File
@@ -25,7 +25,7 @@ set :rvm_ruby_version, '2.6.6'
# Default value for :linked_files is [] # Default value for :linked_files is []
# append :linked_files, "config/database.yml" # append :linked_files, "config/database.yml"
append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', '.bundle', 'public/system', 'public/uploads' append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', '.bundle', 'public/system', 'public/uploads'
append :linked_files, 'config/secrets.yml', 'config/master.key', 'config/credentials.yml.enc', '.env' append :linked_files, 'config/secrets.yml', 'config/master.key', 'config/credentials.yml.enc', '.env', 'tmp/restart.txt'
# Default value for linked_dirs is [] # Default value for linked_dirs is []
# append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public/system" # append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public/system"