<commit_before>SpreeEasyAdminRedirect
======================

Introduction goes here.

Installation
------------

Add spree_easy_admin_redirect to your Gemfile:

```ruby
gem 'spree_easy_admin_redirect'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g spree_easy_admin_redirect:install
```

Testing<commit_msg>Improve README.md<commit_after>SpreeEasyAdminRedirect
======================

Provides an easy way to redirect an user after login in.

Installation
------------

Add spree_easy_admin_redirect to your Gemfile:

```ruby
gem 'spree_easy_admin_redirect', git: '<EMAIL>:Serabe/spree_easy_admin_redirect.git', branch: '2-3-stable'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g spree_easy_admin_redirect:install
```

The generator does nothing but showing a message. It is provided because it is
what spree extensions do and somebody might not read this README.

Overriding the redirection
------

For overriding the redirection path you just need to redefine
`Spree::Admin::RootController#admin_root_redirect_path`. If you want a more complex behaviour, you might override `Spree::Admin::RootController#index`.

Testing
{'fraction_non_alphanumeric': 0.12236628849270664, 'fraction_numerical': 0.0016207455429497568, 'mean_word_length': 5.60427807486631, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4566202', 'n_tokens_mistral': 364, 'n_tokens_neox': 335, 'n_words': 120}