Open smpallen99 opened 7 years ago
I wanted to help contribute to this and for clarification here is an example:
If a user has this configuration,
use Mix.Config
config :talon_blog_demo, :talon,
module: TalonBlogDemo,
themes: ["admin-lte"],
concerns: [TalonBlogDemo.Admin],
web_namespace: Web
and they attempt to run this command:
mix talon.gen.resource TalonBlogDemo.User
the Mix task should recognize the top level app namespace TalonBlogDemo
and run the equivalent to:
mix talon.gen.resource User
instead?
We should check if the user provided top level app namespace and remove it for them.