Rename breadcrumbBar to breadcrumbsW according to new convention

This commit is contained in:
fr33domlover 2016-05-06 10:24:58 +00:00
parent ae03aee099
commit 7e8e557625
2 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ import Data.Text as T (pack)
import Text.Jasmine.Local (discardm)
import Vervis.Import.NoFoundation hiding (last)
import Vervis.Widget (breadcrumbBar)
import Vervis.Widget (breadcrumbsW)
-- | The foundation datatype for your application. This can be a good place to
-- keep settings and values requiring initialization before your application

View file

@ -15,7 +15,7 @@
-- | Various custom widgets.
module Vervis.Widget
( breadcrumbBar
( breadcrumbsW
)
where
@ -27,7 +27,7 @@ import Yesod.Core.Widget
import Vervis.Settings (widgetFile)
import Vervis.Style
breadcrumbBar :: YesodBreadcrumbs site => WidgetT site IO ()
breadcrumbBar = do
breadcrumbsW :: YesodBreadcrumbs site => WidgetT site IO ()
breadcrumbsW = do
(current, bcs) <- handlerToWidget breadcrumbs
$(widgetFile "breadcrumbs")