diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-07-28 08:27:41 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-07-28 08:27:41 -0400 |
commit | 8828d7189173dfdf8c88082cf69d1eb74d89e9a7 (patch) | |
tree | 197be3ea04ece47eef269ebd5b394c878076fafc /src/views/panes/admin/posts.ecr | |
parent | bff93d5b6a46e6c996e43dc4d669a4514da87cc6 (diff) | |
download | guff-8828d7189173dfdf8c88082cf69d1eb74d89e9a7.tar.bz2 guff-8828d7189173dfdf8c88082cf69d1eb74d89e9a7.zip |
refactor settings panes, simplify admin page
Diffstat (limited to 'src/views/panes/admin/posts.ecr')
-rw-r--r-- | src/views/panes/admin/posts.ecr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/panes/admin/posts.ecr b/src/views/panes/admin/posts.ecr index 5e6571d..5b8e669 100644 --- a/src/views/panes/admin/posts.ecr +++ b/src/views/panes/admin/posts.ecr @@ -33,7 +33,7 @@ :type => "divider", }] + %i{blog page project}.map { |id| # get post type - post_type = Guff::Views::AdminPageView::POST_TYPES[id] + post_type = Guff::POST_TYPES[id] { :id => post_type[:id], |