Skip to content
This repository has been archived by the owner. It is now read-only.

Put gem templates through parent's app controller #7

Merged
merged 1 commit into from May 23, 2014

Conversation

@fofr
Copy link
Contributor

@fofr fofr commented May 23, 2014

  • The style guide template should render through the parent app’s
    application controller and template — eg showing the parent’s
    application name, main navigation and so on.
  • Following guide from
    http://guides.rubyonrails.org/engines.html#using-a-controller-provided-b
    y-the-application
  • Prior to this the style guide route was not working in app’s using
    the gem because GovukAdminTemplate::ApplicationController wasn’t
    available
* The style guide template should render through the parent app’s
application controller and template — eg showing the parent’s
application name, main navigation and so on.
* Following guide from
http://guides.rubyonrails.org/engines.html#using-a-controller-provided-b
y-the-application
* Prior to this the style guide route was not working in app’s using
the gem because GovukAdminTemplate::ApplicationController wasn’t
available
rgarner added a commit that referenced this pull request May 23, 2014
Put gem templates through parent's app controller
@rgarner rgarner merged commit aafc609 into master May 23, 2014
1 check passed
1 check passed
default "Build #6 succeeded on Jenkins"
Details
@rgarner rgarner deleted the fix-style-controller branch May 23, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.