 
   ## Examples
 
-      iex> Mapper.resource_name_from_controller(UserController)
+      iex> Mapper.resource_name(UserController)
       "user"
 
   """

      defmodule Router do
        use Phoenix.Router

        resources "pages", PageController, only: [:show]
        resources "users", UserController, except: [:destroy]
      end

  ## Generated Routes

      pages_path  GET    /pages/:id       Elixir.PageController.show/2
      users_path  GET    /users           Elixir.UserController.index/2
      users_path  GET    /users/:id/edit  Elixir.UserController.edit/2
      users_path  GET    /users/new       Elixir.UserController.new/2
      users_path  GET    /users/:id       Elixir.UserController.show/2
      users_path  POST   /users           Elixir.UserController.create/2
                  PUT    /users/:id       Elixir.UserController.update/2
                  PATCH  /users/:id       Elixir.UserController.update/2

  """


      defmodule Router do
        use Phoenix.Router

        get "/pages/:page", PageController, :show, as: :page
        resources "/users", UserController
      end

      # Compiles to

      get "/pages/:page", PageController, :show, as: :page

      -> defmatch({:get, "/pages/:page", PageController, :show, [as: :page]})
         defroute_aliases({:get, "pages/:page", PageController, :show, [as: :page]})

      --> def(match(conn, :get, ["pages", page])) do
