Added more_info notice and fixed payments cancan bug
This commit is contained in:
parent
42679aa410
commit
7bfd45a163
|
@ -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
|
||||
|
|
|
@ -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 %>
|
||||
|
|
Loading…
Reference in New Issue
Block a user