app/controllers/admin/snippets_controller.rb in radiant-0.8.0 vs app/controllers/admin/snippets_controller.rb in radiant-0.8.1
- old
+ new
@@ -1,5 +1,8 @@
class Admin::SnippetsController < Admin::ResourceController
def show
- redirect_to edit_admin_snippet_path(params[:id])
+ respond_to do |format|
+ format.xml { super }
+ format.html { redirect_to edit_admin_snippet_path(params[:id]) }
+ end
end
-end
\ No newline at end of file
+end