Adding render_view method that checks if the URN has a variable and extracts the if variable if present.