added the basic components to begin working on the pay index view

This commit is contained in:
cktricky
2014-03-15 10:28:52 -04:00
parent a06788ff58
commit 7a4efaa950
4 changed files with 18 additions and 1 deletions
+5
View File
@@ -1,2 +1,7 @@
class PayController < ApplicationController
def index
end
end
+1 -1
View File
@@ -67,7 +67,7 @@
<% end %>
</li>
<li id="pay">
<%= link_to "#" do %>
<%= link_to user_pay_index_path(:user_id => current_user.user_id) do %>
<div class="icon">
<span class="fs1" aria-hidden="true" data-icon="&#xe038;"></span>
</div>
+9
View File
@@ -0,0 +1,9 @@
<script type="text/javascript">
function makeActive(){
$('li[id="pay"]').addClass('active');
};
$(document).ready(makeActive)
</script>
+3
View File
@@ -34,6 +34,9 @@ Railsgoat::Application.routes.draw do
resources :messages do
end
resources :pay do
end
end
get "download" => "benefit_forms#download"