Commit f42e10f7 authored by Zac Wood's avatar Zac Wood
Browse files

set_cookie -> update_cookie

parent 321300c2
Pipeline #3062 failed with stage
in 2 minutes and 8 seconds
......@@ -2,13 +2,13 @@ class SessionsController < ApplicationController
def update
set_cookie :crns
set_cookie :semester_id
head :ok
end
private
def set_cookie(sym)
def update_cookie(sym)
cookies[sym] = params[sym] unless params[sym].nil?
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment