diff --git a/app/controllers/budget/investments_controller.rb b/app/controllers/budget/investments_controller.rb new file mode 100644 index 000000000..b1e1ff16e --- /dev/null +++ b/app/controllers/budget/investments_controller.rb @@ -0,0 +1,9 @@ +class Budget + class InvestmentsController < ApplicationController + skip_authorization_check + + def index + end + + end +end \ No newline at end of file diff --git a/app/views/budget/investments/index.html.erb b/app/views/budget/investments/index.html.erb new file mode 100644 index 000000000..7b6743e31 --- /dev/null +++ b/app/views/budget/investments/index.html.erb @@ -0,0 +1 @@ +hello budgets! diff --git a/config/routes.rb b/config/routes.rb index 7d0a3a996..7b0d825c4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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]