Added more_info notice and fixed payments cancan bug

This commit is contained in:
Will Bradley 2013-09-28 19:34:08 -07:00
parent 42679aa410
commit 7bfd45a163
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
class PaymentsController < ApplicationController
load_and_authorize_resource :payment
load_and_authorize_resource :user, :through => :payment
#load_and_authorize_resource :user, :through => :payment
before_filter :authenticate_user!
# Load users and certs based on current ability

View File

@ -9,7 +9,7 @@ $(function(){
<div class="field">
<%= text_area_tag :value, @setting[:value], :cols => 50, :class => "wysiwyg" %><br/>
</div>
<em>Note: there is a /more_info page you can link to for wysiwyg purposes.</em>
<div class="field">
<%= submit_tag "Save", {:class => "wymupdate"} %><br/>
<%= link_to "Back", settings_path %>