File tree 2 files changed +15
-15
lines changed
2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
1
# TODO Implement AdminController
2
- class Admin ::MailerController < ApplicationController
3
- def show
4
- end
5
-
6
- def create
7
- users = User . with_email_in_exercise_groups
8
-
9
- users . each do |u |
10
- UserMailer . deliver_notify ( u , params [ :subject ] , params [ :body ] )
11
- end
12
-
13
- render :text => "Success!"
14
- end
15
- end
2
+ # class Admin::MailerController < ApplicationController
3
+ # def show
4
+ # end
5
+ #
6
+ # def create
7
+ # users = User.with_email_in_exercise_groups
8
+ #
9
+ # users.each do |u|
10
+ # UserMailer.deliver_notify(u, params[:subject], params[:body])
11
+ # end
12
+ #
13
+ # render :text => "Success!"
14
+ # end
15
+ # end
Original file line number Diff line number Diff line change 2
2
3
3
# Uncomment below to force Rails into production mode when
4
4
# you don't control web/app server and can't set it the proper way
5
- ENV [ 'RAILS_ENV' ] ||= 'production'
5
+ # ENV['RAILS_ENV'] ||= 'production'
6
6
7
7
# Specifies gem version of Rails to use when vendor/rails is not present
8
8
RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION
You can’t perform that action at this time.
0 commit comments