Skip to content

Commit

Permalink
Merge 8382392 into 780e89f
Browse files Browse the repository at this point in the history
  • Loading branch information
ilopmar committed Aug 2, 2014
2 parents 780e89f + 8382392 commit 4e78520
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,38 @@ You can get the sample application source here: https://github.com/kaleidos/grai

To install you should include in your `BuildConfig.groovy`

plugins {
runtime ":admin-interface:<version>.<minorVersion>"
}
```groovy
plugins {
runtime ":admin-interface:<version>.<minorVersion>"
}
```

It's recommended that you include a Spring Security Core plugin to secure the administration.

```
```groovy
plugins {
// Spring Security v1.X , example:
compile ":spring-security-core:1.2.7.3"
}
```

```
```groovy
plugins {
// ... or v2.X , example:
compile ":spring-security-core:2.0-RC3"
}
```

and edit your app `Config.groovy` and include the list of domains to start working with:
```

```groovy
grails.plugin.admin.domains = [ "conferences.Talk", "conferences.Speaker" ]
```

You can also extend the default behaviour creating your own custom widgets.
See [Custom Widgets](https://kaleidos.github.io/grails-admin-interface/guide/customWidgets.html) section to learn more about.

```
```groovy
grails.plugin.admin.domain.Conference = {
widget "coordinates", "sample.MapWidget", height:400, width:600
}
Expand Down
2 changes: 1 addition & 1 deletion src/docs/guide/introduction/sample.gdoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ There is a sample application that you can checkout at github:

Also, you cant test the sample application online at:

[http://grails-admin-interface-sample.herokuapp.com/|http://grails-admin-interface-sample.herokuapp.com/]
[http://sample.grailsadmininterface.kaleidos.net/|http://sample.grailsadmininterface.kaleidos.net/]

0 comments on commit 4e78520

Please sign in to comment.