     def show(conn, _params), do: text(conn, "show files")
     def index(conn, _params), do: text(conn, "index files")
     def new(conn, _params), do: text(conn, "new files")
-    def create(conn, _params), do: text(conn, "create files")
-    def update(conn, _params), do: text(conn, "update files")
-    def destroy(conn, _params), do: text(conn, "destroy files")
   end
 
   defmodule CommentController do

      resources "/comments", CommentController do
        get "/special", CommentController, :special
      end
      resources "/files", FileController
      resources "/posts", PostController, except: [:destroy]
      resources "/sessions", SessionController, only: [:new, :create, :destroy]
    end

    resources "/files", FileController, name: "asset" do
      resources "/comments", CommentController do
        get "/avatar", Users, :avatar
      end
    end

    resources "/scoped_files", FileController, only: [:index] do
      resources "/comments", CommentController, except: [:destroy]
    end

    resources "/pages", PageController, param: "slug", name: "area" do
      resources "/ratings", RatingController, param: "key", name: "vote"
    end
  end


    def special(conn, _params), do: text(conn, "special comments")
  end

  defmodule Router do
    use Phoenix.Router

