Skip to content

Commit

Permalink
[skip ci] docs: Fix broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
maful committed Jan 17, 2023
1 parent 0dc9d68 commit ab48bb4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/docs/getting-started/advanced-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ end
html: { method: :post } do |f| %>
```

Once you've done so, you can make use of the helpers in [Ransack::Helpers::FormBuilder](https://github.com/activerecord-hackery/ransack/lib/ransack/helpers/form_builder.rb) to
Once you've done so, you can make use of the helpers in [Ransack::Helpers::FormBuilder](https://github.com/activerecord-hackery/ransack/blob/main/lib/ransack/helpers/form_builder.rb) to
construct much more complex search forms, such as the one on the
[demo app](http://ransack-demo.herokuapp.com/users/advanced_search)
(source code [here](https://github.com/activerecord-hackery/ransack_demo)).
2 changes: 1 addition & 1 deletion docs/docs/getting-started/search-matches.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ List of all possible predicates
| `*_false` | is false | |


See full list: https://github.com/activerecord-hackery/ransack/blob/master/lib/ransack/locale/en.yml#L15
See full list: https://github.com/activerecord-hackery/ransack/blob/main/lib/ransack/locale/en.yml#L16
2 changes: 1 addition & 1 deletion docs/docs/getting-started/simple-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ end

The two primary Ransack view helpers are `search_form_for` and `sort_link`,
which are defined in
[Ransack::Helpers::FormHelper](https://github.com/activerecord-hackery/ransack/lib/ransack/helpers/form_helper.rb).
[Ransack::Helpers::FormHelper](https://github.com/activerecord-hackery/ransack/blob/main/lib/ransack/helpers/form_helper.rb).

### Form helper

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/going-further/form-customisation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sidebar_position: 4
title: Form customisation
---

Predicate and attribute labels in forms may be specified with I18n in a translation file (see the locale files in [Ransack::Locale](https://github.com/activerecord-hackery/ransack/activerecord-hackery/ransack/tree/master/lib/ransack/locale) for more examples):
Predicate and attribute labels in forms may be specified with I18n in a translation file (see the locale files in [Ransack::Locale](https://github.com/activerecord-hackery/ransack/tree/main/lib/ransack/locale) for more examples):

```yml
# locales/en.yml
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/going-further/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ title: i18n
# i18n and Ransack

Ransack translation files are available in
[Ransack::Locale](https://github.com/activerecord-hackery/ransack/lib/ransack/locale). You may also be interested in one of the
[Ransack::Locale](https://github.com/activerecord-hackery/ransack/tree/main/lib/ransack/locale). You may also be interested in one of the
many translations for Ransack available at
http://www.localeapp.com/projects/2999.

Predicate and attribute translations in forms may be specified as follows (see
the translation files in [Ransack::Locale](https://github.com/activerecord-hackery/ransack/lib/ransack/locale) for more examples):
the translation files in [Ransack::Locale](https://github.com/activerecord-hackery/ransack/tree/main/lib/ransack/locale) for more examples):

locales/en.yml:
```yml
Expand Down

0 comments on commit ab48bb4

Please sign in to comment.