Skip to content

Commit

Permalink
Add charge button to org page, closes #209
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoenig10 committed May 3, 2016
1 parent a7db3c8 commit 147bd9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/organizations/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
<% if can?(:read_basic_details, @organization) %>
<%= link_to raw("Tools"), organization_tools_path(@organization), :class => 'btn btn-info' %>
<% end %>
<% if can?(:read_all_details, @organization) %>
<%= link_to raw("Charges"), organization_charges_path(@organization), :class => 'btn btn-info' %>
<% end %>
<% if can?(:update, @organization) %>
<%= link_to t('.edit', :default => t("helpers.links.edit")),
edit_organization_path(@organization), :class => 'btn btn-primary' %>
Expand Down

0 comments on commit 147bd9a

Please sign in to comment.