Skip to content

Conversation

AlfonsoUceda
Copy link
Contributor

This allow to send default cookies values to every cookie.

Values set for a cookie by user are respected.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like a lot this method. any idea?

I did this method because the value of the cookie can be a String, Number, Array...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the thing that you don't like?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the use of is_a? method, but I think I dont have more options

@runlevel5
Copy link

👍

runlevel5 pushed a commit that referenced this pull request Mar 7, 2015
Added default cookies options support
@runlevel5 runlevel5 merged commit 212c360 into hanami:master Mar 7, 2015
@AlfonsoUceda AlfonsoUceda deleted the httpcookie branch March 8, 2015 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants