Current section
Files
Jump to
Current section
Files
priv/templates/use_case.gen.phx_resource_html/view.eex
<% if Keyword.get(@option_context, :scoped, false) do %>
defmodule <%= @context[:web_module] %>.<%= @option_context[:scoped] %>.<%= @context[:module] |> String.replace("#{@context[:base]}.", "") %>View do
<% else %>
defmodule <%= @context[:web_module] %>.<%= @context[:module] |> String.replace("#{@context[:base]}.", "") %>View do
<% end %>
use <%= @context[:web_module] %>, :view
end