Skip to content

History / How To: Create custom layouts

Revisions

  • Fix information about Users::RegistrationsController

    @collimarco collimarco committed Nov 30, 2023
  • Added alternative approach to assigning mailer layout.

    @rfb rfb committed Apr 18, 2022
  • Note that Devise Controller mixins may not be present if the Routes have not yet be loaded and provide an optional workaround

    @bensheldon bensheldon committed Dec 17, 2021
  • By inheriting from ApplicationController instead of ActionController::Base, the developer can further customize Devise in the ApplicationController (e.g. https://github.com/plataformatec/devise#strong-parameters)

    @brendanbenson brendanbenson committed Mar 12, 2018
  • Remove outdated/misleading information about auto-selected "devise.html.erb" layout, remove Rails 2 references

    @latortuga latortuga committed Dec 22, 2016
  • Add ruby to code block for pretty colors

    @maxnordlund maxnordlund committed Oct 14, 2016
  • Added a new method

    @amingilani amingilani committed Apr 30, 2016
  • Updated How To: Create custom layouts (markdown)

    @amingilani amingilani committed Apr 30, 2016
  • remove unneeded whitespaces

    @Nowaker Nowaker committed Mar 5, 2015
  • Add layout by action example

    @fontno fontno committed Oct 5, 2014
  • show how to put "to_prepare" into config/initializers/devise.rb

    @rainchen rainchen committed Jul 1, 2014
  • Took a while before I figured this out, might be worth mentioning!

    @jensljungblad jensljungblad committed Mar 14, 2013
  • Updated How To: Create custom layouts (markdown)

    @katsoboy katsoboy committed Mar 8, 2013
  • Updated How To: Create custom layouts (markdown)

    @katsoboy katsoboy committed Mar 8, 2013
  • Updated How To: Create custom layouts (markdown)

    @katsoboy katsoboy committed Mar 8, 2013
  • Updated How To: Create custom layouts (markdown)

    @katsoboy katsoboy committed Mar 8, 2013
  • Added instruction for simple layout change that doesn't require to alter the application config file.

    xlozinguez committed Mar 8, 2013
  • do...end is the preferred format for multi-line blocks.

    @shadab16 shadab16 committed Apr 19, 2012
  • Revert "Destroyed How To: Create custom layouts (markdown)" This reverts commit b0ac8106c5d0a2aa76a63ae47c91d8585e43169b.

    José Valim committed Apr 4, 2012
  • Destroyed How To: Create custom layouts (markdown)

    @stupied4ever stupied4ever committed Mar 31, 2012
  • Its, not "it's"

    @mshafrir mshafrir committed Jan 24, 2012
  • formatting & copyedit

    @tcrouch tcrouch committed Jul 18, 2011