1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

New Settings Menu, Routes and Controllers Organization (#641)

* Add new settings routes and controllers

* Add new settings view, restructure controllers and routes

* Fix lint errors
This commit is contained in:
Zach Gollwitzer 2024-04-18 07:56:51 -04:00 committed by GitHub
parent 39d57a167e
commit 9bda7efc3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 771 additions and 203 deletions

View file

@ -1,6 +1,9 @@
class Transactions::CategoriesController < ApplicationController
before_action :set_category, only: [ :update, :destroy ]
def index
end
def create
if Current.family.transaction_categories.create(category_params)
redirect_to transactions_path, notice: t(".success")

View file

@ -0,0 +1,4 @@
class Transactions::MerchantsController < ApplicationController
def index
end
end

View file

@ -0,0 +1,4 @@
class Transactions::RulesController < ApplicationController
def index
end
end