adds budget structure for views and controllers

This commit is contained in:
rgarcia
2016-07-19 13:16:30 +02:00
parent a275c24d7f
commit 1e35ca4895
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
class Budget
class InvestmentsController < ApplicationController
skip_authorization_check
def index
end
end
end

View File

@@ -0,0 +1 @@
hello budgets!

View File

@@ -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]