Skip to content

Commit

Permalink
Merge pull request #327 from joesondow/ASGARD-1174-Init-Firefox
Browse files Browse the repository at this point in the history
ASGARD-1174 - Init screen on Firefox should not do infinite redirects
  • Loading branch information
joesondow committed Jun 28, 2013
2 parents b2d0e23 + e38e958 commit 44402dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grails-app/conf/InitFilters.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class InitFilters {
def configService

def filters = {
all(controller: '(init|server)', invert: true) {
all(controller: '(init|server|firefox)', invert: true) {
before = {
if (!configService.appConfigured) {
redirect(controller: 'init')
Expand Down
2 changes: 1 addition & 1 deletion grails-app/conf/LoadingFilters.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LoadingFilters {
def initService

def filters = {
all(controller: '(cache|init|healthcheck|server)', invert: true) {
all(controller: '(cache|init|healthcheck|server|firefox)', invert: true) {
before = {
if (!initService.cachesFilled() && !System.getProperty('skipCacheFill')) {
render(status: HttpServletResponse.SC_SERVICE_UNAVAILABLE, view: '/loading')
Expand Down

0 comments on commit 44402dd

Please sign in to comment.