Skip to content

Commit

Permalink
Alterada a geração do arquivo initilizer
Browse files Browse the repository at this point in the history
  • Loading branch information
g-portugues committed Jun 25, 2019
1 parent 0a737c3 commit f060c4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Or install it yourself:

To add the configuration file:

$ rails generate keycloak
$ rails generate keycloak:config


## Use
Expand Down
4 changes: 2 additions & 2 deletions README.pt-BR.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Então execute:
Ou instale você mesmo:

$ gem install keycloak

Para adicionar o arquivo de configuração:

$ rails generate keycloak
$ rails generate keycloak:config

## Utilização

Expand Down
2 changes: 1 addition & 1 deletion lib/generators/keycloak/config/config_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Generators
class ConfigGenerator < Rails::Generators::Base
source_root(File.expand_path(File.dirname(__FILE__)))
def copy_initializer
copy_file 'keycloak.rb', 'config/initializers/keycloak.rb'
copy_file '../../keycloak.rb', 'config/initializers/keycloak.rb'
end
end
end
Expand Down

0 comments on commit f060c4e

Please sign in to comment.