web: fix a warning
This commit is contained in:
		
							parent
							
								
									ba01ee447d
								
							
						
					
					
						commit
						c1c9a989be
					
				| @ -142,7 +142,7 @@ instance Yesod App where | ||||
| 
 | ||||
|         staticRootUrl <- (staticRoot . settings) <$> getYesod | ||||
|         vd@VD{..} <- getViewData | ||||
|         giveUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet") | ||||
|         withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet") | ||||
| 
 | ||||
|     -- This is done to provide an optimization for serving static files from | ||||
|     -- a separate domain. Please see the staticRoot setting in Settings.hs | ||||
|  | ||||
| @ -10,5 +10,5 @@ import Handler.Common | ||||
| getSidebarR :: Handler Html | ||||
| getSidebarR = do | ||||
|   vd <- getViewData | ||||
|   giveUrlRenderer [hamlet|^{sidebar vd}|] | ||||
|   withUrlRenderer [hamlet|^{sidebar vd}|] | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user