Permalink
Browse files

removed trailing spaces

  • Loading branch information...
1 parent 530274f commit f02420c814962543d1152eca8024f1e5113338de @witlessbird witlessbird committed Apr 3, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/lib/katello/url_constrained_cookie_store.rb
@@ -68,11 +68,11 @@ def commit_session(env, status, headers, body)
end
class Katello::UrlConstrainedCookieStore < ActionDispatch::Session::CookieStore
- include Katello::UrlConstrainedCookieStoreV30X if Rails::VERSION::STRING < "3.2"
- include Katello::UrlConstrainedCookieStoreV32X if Rails::VERSION::STRING >= "3.2"
-
+ include Katello::UrlConstrainedCookieStoreV30X if Rails::VERSION::STRING < "3.2"
+ include Katello::UrlConstrainedCookieStoreV32X if Rails::VERSION::STRING >= "3.2"
+
DEFAULT_OPTIONS.merge!(:expiration_exceptions => nil)
-
+
def expiration_exceptions(options)
exceptions = options[:expiration_exceptions] or []
exceptions.instance_of?(Array) ? exceptions : [exceptions]
@@ -90,7 +90,7 @@ def create_cookie(request, cookie_data, options)
cookie[:expires] = cookie[:value]['created_at'] + options[:expire_after]
end
end
-
+
cookie
end
end

0 comments on commit f02420c

Please sign in to comment.