Skip to content

Commit

Permalink
Fixed WARN: get profile from config in index.gsp (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan authored Jun 15, 2022
1 parent a1e8e1a commit 236e1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skeleton/grails-app/views/index.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Application Status <span class="caret"></span></a>
<ul class="dropdown-menu">
<li class="dropdown-item"><a href="#">Environment: ${grails.util.Environment.current.name}</a></li>
<li class="dropdown-item"><a href="#">App profile: ${grailsApplication.config.grails?.profile}</a></li>
<li class="dropdown-item"><a href="#">App profile: ${grailsApplication.config.getProperty('grails.profile')}</a></li>
<li class="dropdown-item"><a href="#">App version:
<g:meta name="info.app.version"/></a>
</li>
Expand Down

0 comments on commit 236e1db

Please sign in to comment.