app/controllers/admin/layouts_controller.rb in radiant-0.7.2 vs app/controllers/admin/layouts_controller.rb in radiant-0.8.0

- old
+ new

@@ -1,6 +1,10 @@ class Admin::LayoutsController < Admin::ResourceController only_allow_access_to :index, :show, :new, :create, :edit, :update, :remove, :destroy, :when => [:developer, :admin], :denied_url => { :controller => 'admin/pages', :action => 'index' }, :denied_message => 'You must have developer privileges to perform this action.' + + def show + redirect_to edit_admin_layout_path(params[:id]) + end end