Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to work with more RESTful admin controllers
- Loading branch information
Showing
5 changed files
with
44 additions
and
9 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
lib/reorder/page_controller_extensions.rb → lib/reorder/pages_controller_extensions.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | ||
existing: | ||
id: 1 | ||
name: Existing User | ||
login: existing | ||
salt: 42ddb5b6479872565981adc78e86ddc50fa21637 | ||
password: 4c5f9d5a0d4cd65d61f6b1505890576d1272986c # password | ||
email: existing.user@gmail.com | ||
another: | ||
id: 2 | ||
name: Another User | ||
login: another | ||
salt: 42ddb5b6479872565981adc78e86ddc50fa21637 | ||
password: 4c5f9d5a0d4cd65d61f6b1505890576d1272986c # password | ||
admin: | ||
id: 3 | ||
name: Admin User | ||
login: admin | ||
salt: 42ddb5b6479872565981adc78e86ddc50fa21637 | ||
password: 4c5f9d5a0d4cd65d61f6b1505890576d1272986c # password | ||
admin: true | ||
developer: | ||
id: 4 | ||
name: Developer User | ||
login: developer | ||
salt: 42ddb5b6479872565981adc78e86ddc50fa21637 | ||
password: 4c5f9d5a0d4cd65d61f6b1505890576d1272986c # password | ||
developer: true | ||
non_admin: | ||
id: 5 | ||
name: Non-Admin User | ||
login: non-admin | ||
salt: 42ddb5b6479872565981adc78e86ddc50fa21637 | ||
password: 4c5f9d5a0d4cd65d61f6b1505890576d1272986c # password | ||
admin: false |
6 changes: 3 additions & 3 deletions
6
...tional/page_controller_extensions_test.rb → ...ional/pages_controller_extensions_test.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters