Closed jojojames closed 7 years ago
Working through Programming Phoenix,
Go To Definition does not seem to work on the controller names in router.ex.
defmodule Rumbl.Router do use Rumbl.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers plug Rumbl.Auth, repo: Rumbl.Repo end pipeline :api do plug :accepts, ["json"] end scope "/", Rumbl do pipe_through :browser # Use the default browser stack get "/", PageController, :index resources "/users", UserController, only: [:index, :show, :new, :create] resources "/sessions", SessionController, only: [:new, :create, :delete] get "/watch/:id", WatchController, :show end scope "/manage", Rumbl do pipe_through [:browser, :authenticate_user] resources "/videos", VideoController end end
Put cursor on 'VideoController', use go to definition, will see a message indicating the GTD failed.
https://github.com/tonini/alchemist.el/issues/296
Thanks, I'll be tracking the other issue then.
Working through Programming Phoenix,
Go To Definition does not seem to work on the controller names in router.ex.
Put cursor on 'VideoController', use go to definition, will see a message indicating the GTD failed.