-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error while visiting sentinel paths #33
Comments
That sounds familiar. I'll try to take a look at this shortly and let you know. |
There's something wrong with the Config.layout option for sure. The default should be "app.html" (at least that's what works for me here lumenlunae@2c47779 ) but also, setting my own layout value in my own config.exs doesn't seem to do anything for some reason. |
Are you also setting the Looking at this today I can see it's not very explicit or clear that both need to be set. |
I did, to my own .LayoutView |
I'll look into that more. Thanks for the feedback.
…On Sat, Feb 25, 2017 at 16:05 Matthew Herz ***@***.***> wrote:
I did, to my own .LayoutView
It might just be my limited knowledge with Elixir, but for the life of me
Sentinel wasn't reading my own options for layout_view and layout, and was
only using its own defaults, even though I had mine set in config.exs
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADoRIfOkKfFzgW7vnbe6l9A-LWYxYVCOks5rgLPTgaJpZM4MLLMG>
.
|
Thank you all for your feedbacks. Layout view in my config file was set as it was described in a guide. I've dropped users table and model and retried all steps of configuration and all things work now. The reason was the user model and table. This problems appears if user model has been predefined and users table has been created before. |
I'll add clarification to the docs about that. Thank you.
…On Mon, Feb 27, 2017 at 02:23 Nataliya Bondarenko ***@***.***> wrote:
Thank you all for your feedbacks. Layout view in my config file was set as
it was described in a guide. I've dropped users table and model and retried
all steps of configuration and all things work now. The reason was the user
model and table. This problems appears if user model has been predefined
and users table has been created before.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADoRIUlrFQEadS-gXt1W2kXa-TEjNtHmks5rgpX8gaJpZM4MLLMG>
.
|
Hi! I'm trying to use sentinel library. I've configured application using your configuration guide and sentinel_example project, but I'm getting errors when visiting paths like /login, /user/create and others provided by sentinel. Error looks this way: (UndefinedFunctionError) function :app.render/2 is undefined (module :app is not available). I will be very grateful for every suggestion.
The text was updated successfully, but these errors were encountered: