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

zad6 solution #259

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

zad6 solution #259

wants to merge 1 commit into from

Conversation

matizzmati
Copy link

No description provided.

@ahawrylak ahawrylak added the zad6 label Dec 9, 2018
@ahawrylak ahawrylak self-requested a review December 9, 2018 20:29
@ahawrylak ahawrylak self-assigned this Dec 11, 2018
Copy link
Collaborator

@ahawrylak ahawrylak left a comment

Choose a reason for hiding this comment

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

Dzięki za rozwiązanie 🎉 Wszystko działa jak należy. Duży plus za czystość i zwięzłość kodu oraz użycie scope 👍

@@ -1,3 +1,7 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end
root to: redirect('customers')
Copy link
Collaborator

Choose a reason for hiding this comment

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

można napisać po prostu:

root to: 'customers#index

Zakładam, że chciałes żeby od razu zmieniał się url na /customers, więc jak najbardziej spoko 👍

@ahawrylak ahawrylak added the ✓ Done in the summary it is considered as done label Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✓ Done in the summary it is considered as done zad6
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants