adds budget structure for views and controllers
This commit is contained in:
9
app/controllers/budget/investments_controller.rb
Normal file
9
app/controllers/budget/investments_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class Budget
|
||||
class InvestmentsController < ApplicationController
|
||||
skip_authorization_check
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
1
app/views/budget/investments/index.html.erb
Normal file
1
app/views/budget/investments/index.html.erb
Normal file
@@ -0,0 +1 @@
|
||||
hello budgets!
|
||||
@@ -75,6 +75,10 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
namespace :budget do
|
||||
resources :investments, only: [:index]
|
||||
end
|
||||
|
||||
resources :stats, only: [:index]
|
||||
|
||||
resources :legislations, only: [:show]
|
||||
|
||||
Reference in New Issue
Block a user