Make page_title/2 private in all LiveViews
The Index modules were calling Show.page_title/2 for modal edit routes. Inlined the logic as private functions in each Index module and removed the now-unused Show aliases. Closes #104
This commit is contained in:
@@ -52,12 +52,14 @@ msgstr ""
|
||||
#: lib/music_library_web/components/notes.ex
|
||||
#: lib/music_library_web/components/record_components.ex
|
||||
#: lib/music_library_web/live/artist_live/show.ex
|
||||
#: lib/music_library_web/live/collection_live/index.ex
|
||||
#: lib/music_library_web/live/collection_live/show.ex
|
||||
#: lib/music_library_web/live/online_store_template_live/index.ex
|
||||
#: lib/music_library_web/live/record_set_live/index.ex
|
||||
#: lib/music_library_web/live/record_set_live/show.ex
|
||||
#: lib/music_library_web/live/scrobble_rules_live/index.ex
|
||||
#: lib/music_library_web/live/scrobbled_tracks_live/index.ex
|
||||
#: lib/music_library_web/live/wishlist_live/index.ex
|
||||
#: lib/music_library_web/live/wishlist_live/show.ex
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Edit"
|
||||
|
||||
@@ -52,12 +52,14 @@ msgstr ""
|
||||
#: lib/music_library_web/components/notes.ex
|
||||
#: lib/music_library_web/components/record_components.ex
|
||||
#: lib/music_library_web/live/artist_live/show.ex
|
||||
#: lib/music_library_web/live/collection_live/index.ex
|
||||
#: lib/music_library_web/live/collection_live/show.ex
|
||||
#: lib/music_library_web/live/online_store_template_live/index.ex
|
||||
#: lib/music_library_web/live/record_set_live/index.ex
|
||||
#: lib/music_library_web/live/record_set_live/show.ex
|
||||
#: lib/music_library_web/live/scrobble_rules_live/index.ex
|
||||
#: lib/music_library_web/live/scrobbled_tracks_live/index.ex
|
||||
#: lib/music_library_web/live/wishlist_live/index.ex
|
||||
#: lib/music_library_web/live/wishlist_live/show.ex
|
||||
#, elixir-autogen, elixir-format
|
||||
msgid "Edit"
|
||||
|
||||
Reference in New Issue
Block a user