Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radius Custom Templates #16

Merged
merged 4 commits into from
Oct 23, 2018
Merged

Radius Custom Templates #16

merged 4 commits into from
Oct 23, 2018

Commits on Oct 18, 2018

  1. Add custom templates 🎉

    🎉
    
    Now we can use our Radius custom templates for a scaffolded controller
    and action views.  A project using this will still need to have
    `slim-rails` in it's own Gemfile since we are not monkey-patching any
    generators.  However, because of that, we need to work around how the
    generators work. By default, rails will look for a template, and
    generate that first one it finds.  Since our custom templates are in a
    gem, rails will find a template (default) in the project and spit it
    out. We want to check `radius-rails` first for any templates before
    going back to the defaults.  Those changes are in `lib/radius-rails.rb`.
    Sam Kim committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    b4a16b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2018

  1. Radius-ize the show.html.slim generator

    Sam Kim committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    f36c68b View commit details
    Browse the repository at this point in the history
  2. Explicitly state top-level Rails namespace

    Sam Kim committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    f8d6ebc View commit details
    Browse the repository at this point in the history
  3. Generic styling for generic tables

    Sam Kim committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    49ff044 View commit details
    Browse the repository at this point in the history