Skip to content

Commit ed01b43

Browse files
committed
Merge pull request rollincode#4 from luizpicolo/master
Improvements to readme
2 parents e836e45 + f6240da commit ed01b43

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,31 @@ You can fork it and change `variables.scss` as you want !
1414

1515
Gemfile
1616

17-
```
17+
```ruby
1818
gem 'wysiwyg-rails'
1919
gem 'icheck-rails'
2020
gem 'rails_admin_rollincode', git: 'https://github.com/rollincode/rails_admin_theme'
2121
gem 'rails_admin', git: 'https://github.com/sferik/rails_admin.git', branch: 'master'
2222
```
2323

2424
Inside `config/application.rb`, just after `Bundler.require`
25-
```
25+
26+
```ruby
2627
ENV['RAILS_ADMIN_THEME'] = 'rollincode'
2728
```
2829

29-
You'll have to run theses commands
30+
You'll have to run theses commands for changes to take effect
3031

31-
`rake assets:clean` and `rake assets:precompile`
32+
`rake assets:clean && rake assets:precompile`
3233

33-
May be you should run `rm -rf tmp/cache/assets/development/`, for changes to take effect.
34+
or
35+
36+
`rm -rf tmp/cache/assets/development/`
3437

3538
Like we can't include custom js in a bundled theme with raild_admin for now, so, you have to add in your `app/assets/javascripts/rails_admin/custom/ui.js` the following code :
3639
It will make the javascript menu works.
3740

38-
````
41+
````javascript
3942
//= require icheck
4043

4144
$(document).on('ready pjax:success', function() {

0 commit comments

Comments
 (0)