Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix overriding session's option when using full-stack app. #3049

Closed
wants to merge 2 commits into from
Closed

Fix overriding session's option when using full-stack app. #3049

wants to merge 2 commits into from

Conversation

yskkin
Copy link

@yskkin yskkin commented Jul 30, 2018

If developer is not using api mode, session's middleware configuration is up to a developer.
Otherwise it will overwrite configuration.

Fixes #3048

When using Rails 4, skip configuring session middleware since
Rails 4.x does not have api mode and usually configured session
middleware by application.
@wlipa
Copy link

wlipa commented Aug 8, 2018

It looks like ActionDispatch::Cookies and ActionDispatch::Flash would still be duplicated, as they are in Rails Admin 1.4 today.

@mshibuya
Copy link
Member

59478af will do the job, please check the master branch.

@mshibuya mshibuya closed this Aug 14, 2018
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.

None yet

3 participants