Skip to content

Commit 2112fea

Browse files
author
Austin Schneider
committed
code formatting
1 parent 1b0fd60 commit 2112fea

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

app/controllers/alerts_controller.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
class AlertsController < ApplicationController
2-
32
respond_to :html
43

54
helper_method :alert
@@ -9,8 +8,6 @@ def create
98
respond_with alert, location: alerts_url
109
end
1110

12-
##################################################
13-
1411
# TODO: test
1512
def alert
1613
@alert ||= begin
@@ -19,5 +16,4 @@ def alert
1916
Alert.new attrs
2017
end
2118
end
22-
2319
end
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
class ApplicationController < ActionController::Base
2-
32
protect_from_forgery
4-
53
end

app/controllers/email_callbacks_controller.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
class EmailCallbacksController < ApplicationController
2-
32
respond_to :html
43

54
helper_method :email_callback
@@ -20,8 +19,6 @@ def destroy
2019
respond_with email_callback
2120
end
2221

23-
##################################################
24-
2522
# TODO: test
2623
def email_callback
2724
@email_callback ||= begin
@@ -32,5 +29,4 @@ def email_callback
3229
end
3330
end
3431
end
35-
3632
end

app/helpers/application_helper.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
module ApplicationHelper
2-
32
# TODO: test
43
def present(object, klass = nil, &block)
54
presenter = if !klass && object.respond_to?(:to_presenter)
@@ -52,5 +51,4 @@ def render_email_callbacks
5251
def email_callbacks
5352
@email_callbacks ||= EmailCallback.order { label.asc }
5453
end
55-
5654
end

0 commit comments

Comments
 (0)