forked from maybe-finance/maybe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Account namespace updates: part 4 (transfers, singular namespacing) (m…
…aybe-finance#896) * Move Transfer to Account namespace * Fix partial resolution due to namespacing plurality * Make category and tag controllers consistent with namespacing convention * Update stale partial reference
- Loading branch information
Showing
50 changed files
with
227 additions
and
127 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
app/controllers/accounts/logos_controller.rb → app/controllers/account/logos_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ollers/categories/deletions_controller.rb → ...trollers/category/deletions_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ollers/categories/dropdowns_controller.rb → ...trollers/category/dropdowns_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/controllers/tags/deletions_controller.rb → app/controllers/tag/deletions_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ntrollers/transactions/rows_controller.rb → ...ontrollers/transaction/rows_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class Transaction::RulesController < ApplicationController | ||
layout "with_sidebar" | ||
|
||
def index | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
app/views/transfers/_form.html.erb → app/views/account/transfers/_form.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
en: | ||
account: | ||
transfers: | ||
create: | ||
success: Transfer created | ||
destroy: | ||
success: Transfer removed | ||
form: | ||
amount: Amount | ||
date: Date | ||
description: Description | ||
description_placeholder: Transfer from Checking to Savings | ||
expense: Expense | ||
from: From | ||
income: Income | ||
select_account: Select account | ||
submit: Create transfer | ||
to: To | ||
transfer: Transfer | ||
new: | ||
title: New transfer | ||
transfer: | ||
remove_body: This will NOT delete the underlying transactions. It will just | ||
remove the transfer. | ||
remove_confirm: Confirm | ||
remove_title: Remove transfer? | ||
transfer_name: Transfer from %{from_account} to %{to_account} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
en: | ||
category: | ||
deletions: | ||
create: | ||
success: Transaction category deleted successfully | ||
new: | ||
category: Category | ||
delete_and_leave_uncategorized: Delete "%{category_name}" and leave uncategorized | ||
delete_and_recategorize: Delete "%{category_name}" and assign new category | ||
delete_category: Delete category? | ||
explanation: By deleting this category, every transaction that has the "%{category_name}" | ||
category will be uncategorized. Instead of leaving them uncategorized, you | ||
can also assign a new category below. | ||
replacement_category_prompt: Select category |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
en: | ||
category: | ||
dropdowns: | ||
row: | ||
delete: Delete category | ||
edit: Edit category | ||
show: | ||
add_new: Add new | ||
clear: Clear | ||
no_categories: No categories found | ||
search_placeholder: Search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
en: | ||
tag: | ||
deletions: | ||
create: | ||
deleted: Tag deleted | ||
new: | ||
delete_and_leave_uncategorized: Delete "%{tag_name}" | ||
delete_and_recategorize: Delete "%{tag_name}" and assign new tag | ||
delete_tag: Delete tag? | ||
explanation: "%{tag_name} will be removed from transactions and other taggable | ||
entities. Instead of leaving them untagged, you can also assign a new tag | ||
below." | ||
replacement_tag_prompt: Select tag | ||
tag: Tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class RenameTransferTable < ActiveRecord::Migration[7.2] | ||
def change | ||
rename_table :transfers, :account_transfers | ||
end | ||
end |
Oops, something went wrong.