Skip to content

Commit

Permalink
Nixing initialize_service_request
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Hardee committed Jan 4, 2017
1 parent 3769f2a commit cc527cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/controllers/service_calendars_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def update
end

def table
initialize_service_request
@tab = params[:tab]
@review = params[:review] == 'true'
@portal = params[:portal] == 'true'
Expand All @@ -90,7 +89,6 @@ def table
end

def merged_calendar
initialize_service_request
@tab = params[:tab]
@review = params[:review] == 'true'
@portal = params[:portal] == 'true'
Expand Down Expand Up @@ -197,6 +195,7 @@ def authorize_dashboard_access
if params[:sub_service_request_id]
authorize_admin
else
@service_request = ServiceRequest.find(params[:service_request_id])
authorize_protocol
end
end
Expand Down

0 comments on commit cc527cf

Please sign in to comment.