diff --git a/app/controllers/pay_controller.rb b/app/controllers/pay_controller.rb index a91df4f..3efacd2 100644 --- a/app/controllers/pay_controller.rb +++ b/app/controllers/pay_controller.rb @@ -1,2 +1,7 @@ class PayController < ApplicationController + + def index + + end + end diff --git a/app/views/layouts/shared/_sidebar.html.erb b/app/views/layouts/shared/_sidebar.html.erb index 19dd55e..7114b08 100755 --- a/app/views/layouts/shared/_sidebar.html.erb +++ b/app/views/layouts/shared/_sidebar.html.erb @@ -67,7 +67,7 @@ <% end %>
  • - <%= link_to "#" do %> + <%= link_to user_pay_index_path(:user_id => current_user.user_id) do %>
    diff --git a/app/views/pay/index.html.erb b/app/views/pay/index.html.erb new file mode 100644 index 0000000..f7c7154 --- /dev/null +++ b/app/views/pay/index.html.erb @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 6dfde00..cdd5060 100755 --- a/config/routes.rb +++ b/config/routes.rb @@ -33,6 +33,9 @@ Railsgoat::Application.routes.draw do resources :messages do end + + resources :pay do + end end