diff --git a/app/controllers/retirement_controller.rb b/app/controllers/retirement_controller.rb new file mode 100644 index 0000000..1a376ee --- /dev/null +++ b/app/controllers/retirement_controller.rb @@ -0,0 +1,7 @@ +class RetirementController < ApplicationController + + def index + @info = current_user.retirement + end + +end diff --git a/app/helpers/retirement_helper.rb b/app/helpers/retirement_helper.rb new file mode 100644 index 0000000..ff34695 --- /dev/null +++ b/app/helpers/retirement_helper.rb @@ -0,0 +1,2 @@ +module RetirementHelper +end diff --git a/app/views/layouts/shared/_sidebar.html.erb b/app/views/layouts/shared/_sidebar.html.erb index 4b11965..0be4bcd 100755 --- a/app/views/layouts/shared/_sidebar.html.erb +++ b/app/views/layouts/shared/_sidebar.html.erb @@ -27,12 +27,12 @@
  • - + <%= link_to user_retirement_index_path(:user_id => current_user.user_id) do %>
    401k Info -
    + <% end %>
  • diff --git a/app/views/retirement/index.html.erb b/app/views/retirement/index.html.erb new file mode 100644 index 0000000..e69de29 diff --git a/config/routes.rb b/config/routes.rb index 9c50183..c622a41 100755 --- a/config/routes.rb +++ b/config/routes.rb @@ -10,6 +10,11 @@ end resources :users do get "account_settings" + + resources :retirement do + + end + end resources :tutorials do diff --git a/test/functional/retirement_controller_test.rb b/test/functional/retirement_controller_test.rb new file mode 100644 index 0000000..9f23c11 --- /dev/null +++ b/test/functional/retirement_controller_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class RetirementControllerTest < ActionController::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/unit/helpers/retirement_helper_test.rb b/test/unit/helpers/retirement_helper_test.rb new file mode 100644 index 0000000..e7dcb8f --- /dev/null +++ b/test/unit/helpers/retirement_helper_test.rb @@ -0,0 +1,4 @@ +require 'test_helper' + +class RetirementHelperTest < ActionView::TestCase +end