Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

push up bootstrap imgs + bi-directional rewards + is_admin? check for…

… notify_controller.
  • Loading branch information...
commit c2345d2cf58442f48c66cb55d974eb41027639ea 1 parent 2d5956a
bakavic bakavic authored
2  app/controllers/notify_controller.rb
@@ -3,7 +3,7 @@
3 3 class NotifyController < ApplicationController
4 4
5 5 before_filter :check_if_sign_in?, :except=>[:verify_email]
6   - #before_filter :check_if_admin? , :only=>[:edit,:destroy]
  6 + before_filter :check_if_admin? , :only=>[:send_verification_email,:send_enquiry_email,:sms_notify]
7 7
8 8 def send_verification_email
9 9 @user = User.find(params[:user_id])
2  app/models/reward.rb
... ... @@ -1,5 +1,5 @@
1 1 class Reward < ActiveRecord::Base
2   - belongs_to :user
  2 + belongs_to :user , :inverse_of => :reward
3 3 end
4 4
5 5
2  config/environments/development.rb
@@ -25,7 +25,7 @@
25 25 #CSV
26 26 config.gem "fastercsv"
27 27 config.gem "tweet-button"
28   - config.gem 'gattica'
  28 + #config.gem 'gattica'
29 29 #config.gem "gchart"
30 30 #Mailer
31 31 config.action_mailer.delivery_method = :smtp
BIN  public/img/glyphicons-halflings-white.png
BIN  public/img/glyphicons-halflings.png

0 comments on commit c2345d2

Please sign in to comment.
Something went wrong with that request. Please try again.