View Source Spaceboy.Robots (Spaceboy v0.3.2)

Controller handling robots.txt file generation

You are not supposed to use it directly but with Spaceboy.Router.robots/1 macro which nicely wraps its functionality.

Summary

Functions

Render /robots.txt file

Functions

render(conn, paths \\ [])

@spec render(conn :: Spaceboy.Conn.t(), paths :: [String.t()]) :: Spaceboy.Conn.t()

Render /robots.txt file