# Undefined function session\_path/2

**URL:** <https://forum.elixirforum.com/t/undefined-function-session-path-2/16760>\
**Category:** Questions\
**Tags:** phoenix, routes, troubleshooting\
**Created:** [September 21, 2018, 1:31am UTC](https://forum.elixirforum.com/t/undefined-function-session-path-2/16760 "2018-09-21T01:31:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sanswork](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sanswork/32/39354_2.png) [@sanswork](https://forum.elixirforum.com/u/sanswork)\
**Post date:** [September 21, 2018, 1:42am UTC](https://forum.elixirforum.com/t/undefined-function-session-path-2/16760/4 "2018-09-21T01:42:20Z")

</div>

```
get "/login", SessionController, :login_form
get "/register", SessionController, :register_form
post "/register", SessionController, :register_user

```

All three of those should define session\_path in 1.3

---

_[View the full topic](https://forum.elixirforum.com/t/undefined-function-session-path-2/16760)._
