docbrown/app
Jeremy Friesen a514ca39b8
Removing unused instance variable (#17414)
As I was looking into the implementation details of the `/t/:tag_name`
relevancy feed I noticed an instance variable that we do not need.

Below are the results of looking for the instance_variable
`@article_index` or a potential `article_index` local variable or method name.

```shell
❯ rg "@?article_index"
app/controllers/stories_controller.rb
28:    @article_index = true
131:    @article_index = true
162:    @organization_article_index = true

app/controllers/stories/tagged_articles_controller.rb
18:      @article_index = true

app/controllers/stories/articles_search_controller.rb
7:      @article_index = true

app/views/articles/_single_story.html.erb
26:          <% if story.cached_organization && !@organization_article_index %>
32:          <a href="/<%= story.cached_user.username %>" class="crayons-avatar <% if story.cached_organization && !@organization_article_index %> crayons-avatar--s absolute -right-2 -bottom-2 border-solid border-2 border-base-inverted <% else %> crayons-avatar--l <% end %> ">
79:            <% if story.cached_organization && !@organization_article_index %>
```
2022-04-25 10:43:21 -04:00
..
assets toggle fix for spaces (#17343) 2022-04-20 16:45:34 +02:00
controllers Removing unused instance variable (#17414) 2022-04-25 10:43:21 -04:00
decorators Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00
errors Favoring re-use of authorization error (#16992) 2022-03-24 08:16:28 -04:00
forms Using a Form Object that will persist for the Creator Settings Form (#15684) 2021-12-10 17:07:40 +02:00
helpers Limit an organizations displayed and add an overflow count (#17339) 2022-04-20 13:10:17 +02:00
javascript Remove @storybook/addon-notes 5 (#17399) 2022-04-22 07:35:00 -04:00
lib Avoid redirection by replacing with newer URL (#17320) 2022-04-18 22:12:21 -04:00
liquid_tags Revalidate embedded links that redirect (#17150) 2022-04-07 13:32:07 -04:00
mailers "Reply to" and "From" Email addresses for SMTP Configurations (#16499) 2022-02-16 16:14:54 +02:00
models Create new feed-variant 20220422 (#17406) 2022-04-25 09:55:33 -04:00
policies Encapsulating the "why we hide/show" something (#17166) 2022-04-11 13:40:16 -04:00
queries DO NOT MERGE: Remove the Member Index View Feature Flags + old code (#17388) 2022-04-25 14:49:34 +02:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers Don't sanitize anchor elements with no href (#16667) 2022-02-22 11:27:38 -06:00
serializers Remove unused methods from User (#16616) 2022-02-18 09:02:17 +07:00
services Tidying up the Articles::Feeds::VariantQuery (#17396) 2022-04-22 15:26:37 -04:00
uploaders small non-views ruby i18n (#16004) 2022-01-11 10:05:18 +07:00
validators Remove the "Getting Started" Section from the Config (#16033) 2022-01-20 07:31:35 -07:00
view_objects Patching ERB rendering of the data-info JSON (#16067) 2022-01-14 08:30:49 -05:00
views DO NOT MERGE: Remove the Member Index View Feature Flags + old code (#17388) 2022-04-25 14:49:34 +02:00
workers Skip rescoring draft articles (#17379) 2022-04-21 10:56:59 -05:00