From 7bfd45a16397e814f63a59a0f2f93040114fffe5 Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Sat, 28 Sep 2013 19:34:08 -0700 Subject: [PATCH] Added more_info notice and fixed payments cancan bug --- app/controllers/payments_controller.rb | 2 +- app/views/settings/edit.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/payments_controller.rb b/app/controllers/payments_controller.rb index a25f31f..a1a4a2e 100644 --- a/app/controllers/payments_controller.rb +++ b/app/controllers/payments_controller.rb @@ -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 diff --git a/app/views/settings/edit.html.erb b/app/views/settings/edit.html.erb index 857b357..c5f6a7d 100644 --- a/app/views/settings/edit.html.erb +++ b/app/views/settings/edit.html.erb @@ -9,7 +9,7 @@ $(function(){
<%= text_area_tag :value, @setting[:value], :cols => 50, :class => "wysiwyg" %>
- + Note: there is a /more_info page you can link to for wysiwyg purposes.
<%= submit_tag "Save", {:class => "wymupdate"} %>
<%= link_to "Back", settings_path %>