prototype mobile interface

This commit is contained in:
albert
2011-11-06 16:59:21 -05:00
parent 5158d1b274
commit 19e5e521f5
13 changed files with 288 additions and 33 deletions

View File

@@ -0,0 +1,14 @@
module M
class PostsController < ApplicationController
layout "mobile"
def index
@post_set = PostSets::Post.new(params[:tags], params[:page])
@posts = @post_set.posts
end
def show
@post = Post.find(params[:id])
end
end
end