Plugins You can find out about all the publicly available Grails plugins.

Pluginbuddy identifies resources/assets from enduser app version

  • Tags: /
  • Latest: 0.3
  • Last Updated: 01 September 2014
  • Grails version: 2.0 > *
0 vote
Dependency:
compile "org.grails.plugins:pluginbuddy:0.3"

 Documentation  Source  Issues

Summary

Outputs resources or assets for you to decide on what to do within your plugin. Does the calculation for your plugin to output according to end users resources/assets based sites,

Installation

compile ':pluginbuddy:0.1'

Description

documentation

In short within your plugin you can define output according to end users site:

<g:if test="${enduser.verifyAppVersion().equals('resources')}">
        <meta name='layout' content="mailingListMini"/>
    </g:if> 
    <g:else>
        <meta name='layout' content="mailingListMiniAssets"/>
    </g:else>