Permalink
Browse files

some cleanup - remove blog/post related stuff

  • Loading branch information...
1 parent a151f64 commit bc804bccafc2302a22f5cee13b2ffde95e6211cd @mkuhl mkuhl committed Oct 2, 2011
@@ -1,3 +0,0 @@
-# Place all the behaviors and hooks related to the matching controller here.
-# All this logic will automatically be available in application.js.
-# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
@@ -2,33 +2,33 @@
@import "app/assets/stylesheets/bootstrap/mixins";
-div.attrlist {
- padding-top: @baseline;
- margin-bottom: @baseline;
-
- div.record {
- margin-bottom: @baseline/2;
- .clearfix();
-
- div.title {
- /*padding-top: 6px;*/
- font-size: @basefont;
- line-height: @baseline;
- float: left;
- width: 130px;
- text-align: right;
-
- background-color:@white;
- color: @gray;
+body#users {
+ div.attrlist {
+ padding-top: @baseline;
+ margin-bottom: @baseline;
+
+ div.record {
+ margin-bottom: @baseline/2;
+ .clearfix();
+
+ div.title {
+ /*padding-top: 6px;*/
+ font-size: @basefont;
+ line-height: @baseline;
+ float: left;
+ width: 130px;
+ text-align: right;
+
+ background-color:@white;
+ color: @gray;
+ }
+
+ div.value {
+ margin-left: 150px;
+ color:@gray;
+ }
}
-
- div.value {
- margin-left: 150px;
- color:@gray;
- }
- }
-
+ }
}
-
@@ -1,7 +0,0 @@
-class UsersController < ApplicationController
- def show
- logger.info ("start fetching user id #{params[:id]}")
- @user = User.find(params[:id])
- logger.info ("found user #{@user.name}")
- end
-end
@@ -1,2 +0,0 @@
-module UsersHelper
-end
View
@@ -1,7 +1,5 @@
Bootstrap::Application.routes.draw do
devise_for :users
- resources :users, :only => :show
-
match 'home/:action' => 'home#:action', :as => :home
View
@@ -42,9 +42,9 @@ def make_user(user)
make_user(Factory.build :user, :name => 'admin', :email => 'mkuhl@softmachine.at')
# create posts
-10.times do
- post = Factory.build :blog_post
- post.save
- puts "created post #{post.title}"
-end
+#10.times do
+# post = Factory.build :blog_post
+# post.save
+# puts "created post #{post.title}"
+#end
@@ -1,9 +0,0 @@
-require 'spec_helper'
-
-describe UsersController do
-
- def show
- @user = User.find(params[:id])
- end
-
-end
View
@@ -1,6 +0,0 @@
-
-Factory.define :blog_post do |f|
- f.sequence(:name) { |n| "post#{n}" }
- f.sequence(:title) { |n| "my wonderful message #{n}" }
- f.content { Faker::Lorem.paragraphs }
-end
@@ -1,5 +0,0 @@
-require 'spec_helper'
-
-describe BlogPost do
- pending "add some examples to (or delete) #{__FILE__}"
-end

0 comments on commit bc804bc

Please sign in to comment.